The smell of rotting eggs in the water comes from a combination of hydrogen, bacteria, and sulfur. Bacteria and sulfur are already present in the water your appliances use and will not make your sick. When the magnesium anode rod from the water heater reacts with the bacteria and sulfur in the water, it can create enough hydrogen to create an odor. Luckily, there are many ways we can fix this.