If Apple iOS store doesn't work for you, there's Google Play store. Free market has nothing to do with how software is loaded on a hardware.
There were more options in the past.
There was Windows Mobile, Windows Phone, BlackBerry, Nokia, Symbian, etc.
But when Apple came to market, they made such an excellent device, along with great developer and consumer experience, that developers agreed for 30% cut and most decided to ditch developing for other platforms, and consumers decided to ditch other now "shitty" phones where they couldn't download their favourite apps for.
Microsoft released great phones, but still had issues with software. They tried solving that with throwing money at developers, but developers still didn't want to develop for Windows Phone.
Developers played crucial part in the last 10 years to form the market where we are today.
And suddenly in 2022, after playing on the same terms for the last 10 years, an access to a marketplace with 1+ billion active users needs to be a free, basic human right that everyone cries for.