Hydrogen sulfide gas often smells like eggs. Sometimes certain water quality scenarios will cause the anode rod in a water heater to prematurely erode, the off-gas often has an unpleasant odor.