Digital comics cost the same so as not to undercut the comic book stores that are the lifeblood of the industry.
They also have to turn a profit. Selling the digital versions a dollar or two cheaper won't necessarily increase sales enough to increase overall profit.
Marvel also offers their Netflix-style Marvel Unlimited subscription service, which has tens of thousands of comics available.