This is known as the "paradox of value." Though water is essential, it's abundant in many places, so its market price is low. Diamonds, while not essential, are rare and considered luxurious, which drives up demand and price.
This shows how scarcity and perceived value influence cost, not just utility. Economists use this example to explain how markets value items based on demand and rarity, rather than practical necessity.