If your water smells like rotten eggs, that likely indicates the presence of hydrogen sulfide gas. This could be due to a problem with your water heater or naturally occurring sulfur bacteria, especially in well water. These issues can produce hydrogen sulfide, which leaves an unpleasant scent wherever it goes.