That's because of system-level protections like the sandbox, not App Review or the App Store.
I’m against walled gardens, I just disagree that there’s no security upside to it
As OP points out you do not need an app store monopoly, you just need adjustable device settings.