Bringing search into an app and then consolidating the web experience there is more surface area for ads, not less.
Meta is the perfect example of this. In browser newsfeeds have the same ad load as the app but by steering everyone into an app and then controlling the experience there they make a shit ton more money.