As the glaciers of South America retreat, the supply of freshwater is dwindling and its quality is getting worse.