A company is not allowed to use its position as a "market" to ALSO give an unfair advantage to its own products - or to shut out competitors without reasonable cause.
...but these laws aren't being enforced. It's funny to remember Microsoft being forced to de-couple Internet Explorer from Windows, and yet the idea of de-coupling the app Store from IOS or the Play store from Android does not seem to occur to regulators.
I have a conspiracy theory that they like that American companies have this market strangle-hold and are unwilling to give market share to EU or Chinese competitors. Imagine all the data collect lost!
Now we’re still(!) in a place where standards are being fought by the likes if Apple, because they have an incentive to weaken open standards in favor of their closed platforms.
This is a grotesque strategy that needs to stop.
To me, “laws” are something the majority massages into a state where they benefit the most people. This looks like one of those cases. Changing the laws (or in this case probably just enforcing them) is different from acting outside the law or breaking laws.