How a pressure surge arises
Flowing fluid carries kinetic energy. If it is suddenly slowed or accelerated – by a closing valve, a tripping pump, a slamming check valve – that energy is converted into pressure. The pressure change travels through the line as a wave at the speed of sound and is reflected at vessels, branches and closed ends.
Pressure surge is the general term for such events. In liquid lines it is also called water hammer; in steam lines, slugs of condensate can cause similarly violent impacts.