Supply and demand

Think of a school fair. If more kids want the last cookie, they offer more, and the price goes up. If lots of cookies are left and few kids want them, the price goes down.