How does an ice dam get water into a house with a sound roof?
By reversing the drainage. Meltwater running down a roof hits ice at the cold eave and stops, builds up behind it, and then sits on the covering instead of running off. Standing water finds a lap, a fastener or a joint, and gets in. The covering is working as intended; the water simply is not leaving.
Heat escaping into the roof space is what starts it, which is why the pattern is familiar: the roof above the heated part of the building melts, the overhang beyond the warm envelope stays frozen, and ice builds where the two meet. A thick band of ice along the lower edge with icicles at the gutter line is the visible version.
That is also why the leak is intermittent and so hard to chase in better weather. By the time anyone can safely look at the roof, the ice has gone and the entry point is dry. Readings taken while the damage is live, and photographs of where water was actually tracking inside, are worth far more than an inspection weeks later.
Why does wet attic insulation have to come out?
Because it holds water against the ceiling below, it loses most of its insulating value while it is wet, and in that state it makes the heat loss that caused the ice dam worse. Compressed, matted or saturated sections are removed; dry sections around them are left alone.
Insulation is designed to trap still air, and water fills the space the air occupied. Wet material becomes a cold, heavy blanket resting directly on the ceiling board, which is the part that then fails. Leaving it there to dry out slowly keeps the board wet for the whole time.
There is a feedback loop worth naming. Wet insulation lets more heat into the roof space, more heat melts more snow, and more meltwater reaches the same cold eave. Taking the wet material out is part of breaking that cycle as well as part of the drying.
Who stops the water at the roof?
A roofing trade does the roof work, including any temporary cover and any repair. Cleanup, removal of wet insulation and drying the structure are restoration work. The two go on together on an active leak, and the drying is held back until water is no longer arriving.
Saying that plainly saves time on the phone. Where covering has gone and weather is still coming in, a temporary cover is the first call, because nothing dries while the supply continues. Where the leak was driven by ice and the ice has since gone, the water may already have stopped by itself and the drying can start right away.
The second part of the answer is longer-term and belongs to other trades too: heat loss into the roof space, the insulation line over the exterior walls and the ventilation path from eave to ridge. Those decide whether this happens again, and nothing a drying crew does will change them.
Should ice be removed from the roof edge?
Not by a homeowner on a ladder, and not with anything that strikes or chops. Ice removal from a roof is specialist work with real fall and damage risk. What a household can reasonably do is deal with the water coming inside and get the ceiling relieved and protected.
Chipping at ice puts tools through the covering, and the covering is what is keeping most of the water out. Ladders against gutters and ice at the base of them are a bad combination. Neither of those risks is justified when the water inside can be managed from inside.
There is one inside step that does help while a thaw is running: keeping the roof space cold rather than warm slows the melt that feeds the dam. That means not opening up heat into the attic to try to thaw anything, which is the instinct and is the wrong way round.