The act of peer review is a relevant source of cost because at least at some publishers, the cost of shepherding a paper through peer review (not the actual peer review, but the process of peer review management - the costs of which I've already broken down elsewhere in the thread, and they are measured in hundreds of dollars of employee time) is borne by the publisher, not by the unpaid editors or the unpaid reviewers.