Most sulfur complaints in this district come from water standing still, not from a failed heater. The housing stock is old enough to have dead-end branches, and a tap that goes weeks without use is the usual laboratory.
Where the water sits
A guest bathroom, a laundry sink, a bar tap or a hose bib on the hot side can hold water for a long time. Warm, still, low-oxygen water is exactly what sulfate-reducing bacteria need.
The odour appears at that fixture first and may never reach the kitchen tap, which is why a whole- house diagnosis can miss it.
The cold-tap test
Fill a glass from the cold side and smell it. Clean cold water means the supply is not the problem. If the cold water also smells, the issue is upstream and the utility or the building's own piping is the place to look.
The tank
A tank that is hot but lightly used can develop the same reaction inside. The anode contributes in some water chemistries, and a rod that is wrong for the supply can make it worse.
The treatment is to drain the tank, flush the sediment and disinfect where appropriate. A different anode material is considered if the reaction returns.
The lines
A dead-end branch is cleared by running it, flushing it, and using it more often. If the smell returns within weeks, the branch may need to be cleaned or reworked rather than simply flushed.
What not to do
Do not mask the smell with additives, vent the garage, or replace the heater before the source is known. A new tank fed by the same stagnant branch will produce the same odour.
Gas safety
A sulfur odour is not the same as leaking gas. A gas smell, a hiss at a connection or a pilot that will not stay lit is an emergency: clear the house, avoid switches, call 911 or the utility from outside, and tell everyone inside.