A bang is a different animal from a pop. It is usually a hydraulic or mechanical event — water stopping suddenly, metal expanding, a pump starting — rather than a layer of sediment. The timing of the sound is the best clue.
Water hammer
When a tap or an appliance valve closes quickly, the column of moving water stops and the momentum has to go somewhere. It rattles the pipe, and on a long run it can sound like something hitting the wall. Hillside houses have long runs, which gives the pulse more pipe to travel.
The fix is at the piping: secure loose sections, fit arrestors where the quick-closing valves are, and check the pressure. It is not a water heater repair in the usual sense, but it is often diagnosed on the same visit because the noise is blamed on the tank.
Thermal expansion
Water expands as it heats. In an open system the expansion pushes back into the supply. In a closed system, one with a check valve or backflow preventer, it has nowhere to go, so pressure rises and the pipes and tank tick and knock.
The symptoms cluster: noise during heating, a relief valve that weeps, and pressure that climbs after a heating cycle. An expansion tank is the standard answer, sized to the system and installed on the cold side.
Loose pipework and mounting
A pipe that is not clipped, a strap that has come loose, or a tank on a stand that is not secure will transmit every vibration into the structure. On a platform installation, the stand itself can be the amplifier. Checking the mount is part of the diagnosis.
Pumps and check valves
Where a recirculation pump was added to shorten the wait at distant taps, the pump's start and the check valve's chatter can both produce a knock. If the noise tracks the pump's schedule, the pump is the first place to look.
When it points to the tank
A banging tank with no obvious piping cause, a relief valve that keeps weeping, and pressure that will not settle are reasons to check the tank's condition and the system's controls. On a unit that is also leaking or failing to heat, the noise is a symptom of a tank that is on its way out rather than a separate fault.