Apple seems to balance security and freedom in MacOS, by asking if you are sure you want to uninstall unidentified software, outside of the Mac App Store [1]. Why can't they offer that same balance in iOS? Imagine how different the MacOS experience would be (particularly for small developers) if every piece of software had to be installed through the Mac App Store.
[1] https://support.apple.com/guide/mac-help/open-a-mac-app-from...