It is using the search engine. The AI summary is run over the top 100 results for your query (or something)
The problem is they're just running a very dumb, cheap model on the results because running a smart model on every search result page would cost them infinity money.