A shortage means that there’s not enough of a product meaning the demand will go up and then prices can be increased due to limited availability of that product.
A surplus means more product is produced than sold and therefore demand and price will go down.