It prevents suppliers from price discriminating (changing iOS users a premium) based on the fact that iOS users are more willing to pay up.
That cost goes directly to Apple. It protects Apple, not their consumers. Their consumers see no benefit from 30% of their cost, whether larger or smaller than the alternatives.