That is not true of most areas in the US where tap water is fine to drink. Some localities do have high concentrations of iron or sulfates in the water that taint the flavor.
Isn't the availability of bottled water a relatively recent thing? It certainly wasn't available for most of the time that I lived in the UK (1955 to 1985), but sweetened carbonated drinks have been a thing for well over a hundred years.