Question: The competitive market equilibrium maximizes gains from trade. Taxes and subsidies, by altering the market outcome, reduce the gains from trade. Does this happen primarily because of the impact of taxes and subsidies on prices or the impact of taxes and subsidies on quantities?