The problem is monopolization of markets that are typically contestable. All computers are Turing machines and all the code is just assembly. There is zero technical rationale for the restrictions Apple imposes. And the assumption in free market capitalism is that of competition. In tech world this means adversarial interoperability. Which, by the fun fact, is how every current Big Tech company grew. Facebook used to interoperate with MySpace in dislike of MySpace in a manner that today we would even categorize as infringing on IP laws. Adversarial interoperability is demonstrably beneficial for the user. When a company implements social and technical barriers to it, the state has all the right to reign in such behaviour in the benefit of markets being contestable.