Why does sealant not fix flashing?
Because sealant holds a joint shut and flashing is not supposed to be shut. Flashing works by overlapping, so water that gets behind one piece lands on top of the next and carries on down. Sealant replaces that logic with a bond that will eventually fail.
The practical problem is that sealant ages faster than metal. It shrinks, loses its grip at one end, and cracks where the joint moves with temperature. For the first year or two it looks like the problem is solved, and because it looked solved, nobody lifts the covering to see what is happening underneath. By the time it reappears, water has been running behind the metal for a long time.
There is a narrow proper use for sealant, as a secondary measure on a correctly formed joint, and a competent roofer uses it that way. The test is simple: if the joint would still shed water with the sealant removed, it is a flashing repair with sealant on it. If removing the sealant would open the leak again, it was never a repair.
Why does the stain show on a wall and not a ceiling?
Because the water is entering at a vertical joint and running down the inside face of the wall rather than dropping onto a ceiling. That pattern is close to a signature for a flashing problem at a wall or chimney.
The detail at these joints has two parts: the pieces woven into the covering, and the upper layer that laps over their top edge and is held against the vertical surface. Water that gets past the upper part lands behind the lower one, which puts it inside the wall rather than on the roof. From there it goes straight down, and the first thing it meets is the plaster of the room below.
It also explains why these leaks are often slow and persistent rather than dramatic. The volume getting in is small, but it gets in at every rain, into a cavity that dries badly. Wall framing stays damp, paint blisters, and the smell arrives before the stain does.
What moves the price of flashing repair up or down here?
How much covering has to come off to reach the metal, whether the joint has to be rebuilt or only replaced, and the state of what is behind it. A long roof-to-wall run costs more work than a single penetration because more of the roof is opened.
The length of the joint is the first thing, because flashing repair is sequential work: each piece has to go in under the covering above it, so a run twice as long is roughly twice the handling. Height and pitch change the setup, and a joint against masonry that needs a proper top-edge detail cut in is more work than one against siding that can be lapped behind.
What is behind the metal is the unknown. Framing that has been wet for years, sheathing that has softened at the joint, or trim that has rotted all have to be dealt with before new metal goes on, and none of it can be seen until the covering is lifted. The price is explained and approved before work starts, and anything found behind the joint is discussed before it is repaired.
Can flashing be repaired without replacing the covering?
Usually yes, if the covering is still flexible enough to lift and relay. That is the main condition. Material that cracks when handled cannot be taken off and put back without creating new problems along the edges of the work.
On a roof in reasonable condition, the courses above the joint are lifted, the metal is dealt with, and the same material is relaid. Some of it will break regardless and gets replaced, which is normal and should be allowed for rather than treated as a surprise. The result is a repaired joint in an otherwise original roof, which is exactly what you want.
Where the covering has gone brittle, the honest answer changes. Opening the joint means replacing a strip of covering, and if the roof is near the end of its service that strip is money spent on something coming off soon anyway. In that case the flashing conversation becomes part of a bigger conversation, and a roofer should say so plainly.
How often should flashing be looked at?
Whenever the roof is being looked at for any other reason, and specifically after anything is built, replaced or mounted near a joint. Flashing is the first thing a competent inspection handles and the last thing an amateur one notices.
The reason to tie it to other work is that flashing almost never announces itself early. There is no stage where a joint looks slightly wrong from the ground; it looks fine until a wall is stained. So the only reliable way to catch it is for someone to handle the joints while they are up there for something else, which costs almost nothing when the ladder is already set.
Pay particular attention after building work. New siding, a replaced window above a lower roof, a mounted fixture, or a chimney repointed all involve someone working next to a flashing detail, and the detail is often disturbed and put back approximately. A roof inspection after that kind of work is cheap insurance against finding out two winters later.