Water is one of the few things that expands when it freezes — by about a tenth. Inside a sealed pipe, that expansion has nowhere to go, and the pressure can split the pipe open. The flood often arrives later, at thaw, when water pours from a break nobody saw happen.
Prevention is gentle work: insulate pipes in cold corners, let a tap drip on the coldest nights (moving water resists freezing, and the drip relieves pressure), and keep cabinet doors open so warm room air reaches the pipes.
And if a pipe does freeze: never attack it with an open flame. Warm it slowly and safely — a hair dryer, warm towels — with the tap open, and shut the water off first if you suspect a split.