But indeed, that doesn’t prevent an app maker such as Google Maps from making it a preference. Technically if Apple made it a preference it might break the expected UI for apps using the control. And as I noted before, there are advantages to previewing links this way, it encourages users to stay within the app.
There is no technical reason why it doesn’t log history events when loaded. It could send a message to the default browser or keep a log in the background and let the browser know when it next launches, and arguably for consistency Apple should design such a feature.
In iOS when an app opens another app, there is a back button specifically to go back to the original app. It's right there at the top left where the standard back button for most app navigation normally is.
> it encourages users to stay within the app.
This is one of the main reasons why they do it in my opinion. Another reason is because they can track your activity in the embedded webview.
Otherwise the history is lost, among other things.