Products that are scarce relative to want tend to command a price. When the demand for a product is very high, and when the supply is restricted, then the price will be high. This analysis was put forward by Alfred Marshall in 1890.
Please also check the “water-diamond” paradox