In 2022, Amazon had 38 billion dollars in ad revenue. That's ads in that search page. Between the ad revenue, and variations in what sale is more profitable for Amazon, you get a lot of incentive misalignment. The page that makes Amazon the most money is not the one where the item you were thinking about is the first thing on the page. Giving you a worse page is just far more profitable.