The reason is that there will otherwise be important apps that never end on anything other than Apple or Google OSes, like (for example) bank applications, government apps (for taxes, alerts, covid tracking), perhaps things like netflix or perhaps the BBC news app.
Also, why would developers spend time developing for an open platform, when they can make 10X the amount of money on the closed platforms?
So effectively, we need the spirit of the web, but in the app stores.
(I know, this sounds a bit like embrace, extend and extinguish; but this time it's from the "good" side :)