In principle an aggregator is showing customers multiple hotels at once, so each vendor has to discount to be competitive. If you are going specifically to a single one they could exploit your lack of information to charge a higher price.
People at some point realized this though and the individual hotel sites had to promise to be the cheapest to hope to get visitors at all.