Because the price of things in a very competitive market is dictated by the cost to the supplier and the minimum markup they can make in order to turn a reasonable profit.
They have just had to buy stocks at higher prices so they have to sell them at a higher price too.