Apple Is Trying to Kill Web Technology
medium.com
medium.com
you prevent apps from using private APIs because those APIs aren't guaranteed be around tomorrow and you don't want to have to maintain internal mechanisms that aren't stable or robust enough to have outsiders relying on them.
It has nothing to do with web technologies. They do it for ANY app that uses private APIs, and as a user I thank them for it. You wanna use private APIs? don't use the app store and cross your fingers that your app won't break with every single system update.