Thats because the company who produces the product you are most interested in can afford to spend the most on ads. Products you aren't very interested in, either because they cost too much, or aren't up to your standards, you are unlikely to buy, and therefore those manufacturers won't be able to afford to get to the top ad spot.
In reality, this doesn't work because the market is far from perfect, and the amount of margin a company has on a product to spend on advertising widely varies.