Apple's total control of all aspects of the iPhone platform is harmful to consumers in a way that is not at all obvious, especially not to the less technologically literate.
An obviously absurd analogy is if a hammer company was somehow able to force you to use their brand of nails and wood and charge you per annum for the use of whatever you built. We did not have previous legislation to handle this situation, because simple physics means that can't happen. But with modern-day complicated tools, it can, and so some regulation of this sector is absolutely needed.
(I don't know the DMA well enough to say if it, specifically, is the right way to handle it, mind, but it's obvious to me that the present situation is untenable.)