Answer is:
Valves and taps are closed suddenly
Explanation:
Water hammer is caused in pipe lines when valves and taps are closed suddenly.