The usual explanation for a banging tank is scale. Here, that explanation is weaker, which makes the diagnosis more interesting.
When does it happen
A bang a few minutes into a heating cycle that continues until the burner shuts off is trapped water flashing under a layer of mineral.
A single crack at the start or end is thermal movement in the tank or the piping.
A rumble carrying on after the burner shuts suggests the water is moving where it should not.
Why scale is the less likely cause
The district's Lake William system reports hardness near 56 ppm, roughly 3.3 grains, on a supply with very little dissolved solid. Soft water builds scale slowly.
So the noise deserves a different set of suspects: a restriction at the outlet, a failing element, a closed or partly closed valve, and expansion in a closed system.
The expansion explanation
A check valve, a backflow device or a pressure regulator closes the system. Heated water expands, pressure rises, pipes move and the tank can knock.
A pressure gauge on a hose bibb answers it. An expansion tank is the usual fix.
The flow explanation
A restricted outlet or a scaled heat exchanger makes water boil locally, which sounds like a kettle. That one is worth taking seriously, because the failure it precedes is expensive.
Gas and altitude
A burner with a sea-level orifice at 7,096 feet runs rich and hot. Soot, a long flame and a noisy cycle belong in the same conversation.
What helps
Flush the tank, check the expansion situation, test the elements, and confirm the gas setup on a gas unit. Each has a different remedy, and guessing wastes a visit.
When to replace
A tank that bangs, has a damp base and is past its warranty is not a repair candidate.