I agree, but apple has made an exception for coding apps to run arbitrary code for some years now.
So, it doesn't make any sense for Apple to not allow 3rd party browsers apart from its intention for a walled garden even if it means compromising security for its users.