Where gas units fail
A gas storage heater has a small set of failure points, and they explain almost every no-hot-water call.
The pilot and thermocouple. The thermocouple is a small probe in the pilot flame that tells the gas valve the flame is lit. When it weakens, the valve shuts off seconds after you let the button go. The symptom is precise: the pilot lights, holds while you hold, and dies when you release.
The flame sensor and ignition. Standing-pilot units have a thermocouple; electronic-ignition units have a hot-surface igniter and a flame sensor. A sensor coated in oxide reports no flame when there is one, and the unit locks out with a code.
The burner. Dust, rust scale and spider webs in the burner tubes produce a lazy yellow flame, a rumble, or a smell of unburnt gas at start-up. Cleaning the burner and checking the orifices restores a blue flame and stops the sooting.
The gas valve and supply. A failing valve, a partially closed supply, or a regulator problem shows up as weak flame or no flow. Gas pressure is measured, not guessed.
Venting and combustion air. A flue that is blocked, disconnected, sagging or sharing a space with a dryer or a bathroom fan can backdraft exhaust into the room. This is the fault that matters most for safety and least for symptoms — carbon monoxide has no smell.
Why the flue gets checked every time
A heater that runs but vent drafts poorly is not fixed by a new thermocouple. On any gas repair, the draft, the flue connections, the clearances and the combustion air supply get looked at, because a unit that lights reliably and vents badly is a worse outcome than one that refuses to light.
When it is not the heater
The gas line, the shut-off valve and the meter belong to the supply side. If a second gas appliance is also failing, the problem is upstream of the heater and the utility is the first call. That gets established before parts are ordered.
Related reading
No hot water? What to check before you call runs the gas-side checks in order, from the sight glass to the point where guessing stops being useful.