The why is because, without a lock down app store windows machines were known to be an easy target for viruses, malwares and fake software. Advanced users can still jailbreak and install other apps.
Unfortunately, the vetting process has issues and I think even though the quality will improve over time due to more/better usage of ML/AI techniques but that will make the process more opaque.