Users can't set a default browser on iOS. Apps can choose to open URLs in one of two in-app webviews (the old WKWebView or the newer SafariViewController), or they can use the "universal links" option to allow the system to open a URL (which can be redirected to another native app, should one be available to handle the domain). While SafariViewController is more full-featured (it forces the use of the system default share control and shows the URL), a lot of sketchier apps prefer to use the older WKWebView (where they can better customize the UI, hide system default controls, and hide the URL). Since WKWebView hides the URL, you can somewhat transparently route users through tracking domains (something I already observed Twitter doing), which may also be the vector Meta is using to inject JS.
All this said, the visual customization of WKWebView also has a legitimate use: many apps use it for showing regular in-app screens, not just for an internal browser.
Well-made third-party apps (Tweetbot for Twitter, Apollo for Reddit) generally let the user choose between SVC or just letting the system handle the URL, because they're not interested in monetizing user data in the same way.