Pipes make a knocking sound when the water is turned off due to a phenomenon called water hammer. This happens when the flow of water is suddenly stopped, causing a pressure wave to travel through the pipes and create the knocking noise.
Chat with our AI personalities