During a surplus, downward pressure is applied on the price of the good, causing utility-maximising consumers, constrained by their budget, increase quantity demanded, while profit-maximising producers, with the higher marginal cost, reduce quantity supplied to avoid the marginal losses. This process will continue until quantity demanded = quantity supplied.