Think of those websites that nag you to subscribe to their newsletter on your first visit. It’s unlikely you have ever seen anyone say they like that practice, yet it continues presumably because it works. Or think of how movie studios keep pumping out terrible sequels while making more money[1].
Forcing users to download an app is not a good user experience, but it’s not trying to be: it’s trying to be a good business decision.