How do you know the water is from a supply line?
By testing, not by looking. A meter that moves with every fixture closed means water is leaving the pressurized side somewhere in the building.
A stain on a ceiling can come from a roof, a drain, condensation or a supply line, and the stain itself does not say which. The household water meter does. With the main valve open and every fixture and appliance off, a meter that keeps turning is recording water that is going somewhere it should not. Closing the main and watching the meter stop confirms it.
Narrowing the location follows the same logic. Closing valves to one part of the building at a time and watching the meter shows which branch is leaking, and a thermal camera or a moisture meter points to the wall or the floor. Doing that before cutting anything is what turns an uncertain opening into a deliberate one.
Why is the wall opened instead of just being dried from outside?
Because the cavity is where the water went. Insulation and framing inside a closed wall hold moisture for weeks and cannot be dried through a painted board.
Fans and dehumidifiers act on the air in a room and on exposed surfaces. A wall cavity is a sealed space whose air does not move, and the batt insulation inside it acts as a wick. Water that has soaked it stays against the studs and the bottom plate long after the paint feels dry.
A cavity opened at the right place and to the right size lets air move through it and lets a technician see the framing. Where a cavity is closed over a wet stud, the usual result is rot or mold several months later, at a point when the cost of finding it is far higher than the cost of opening it would have been.
What does a leak that ran for months change?
The damage is deeper, the materials are rotted more often, and an insurer may read it as maintenance. The Maryland Insurance Administration says slow leaks are generally not covered whenever discovered.
A sudden failure and a slow one end in the same wet wall, but they are treated differently on a claim. The regulator's published guidance, which describes general patterns rather than any policy, says that slow leaks are generally not covered whenever they are discovered. Whether the loss you have is regarded as sudden or gradual is a question for your insurer, and it can be argued either way.
The most useful thing a homeowner can do is not guess. Photographs of the wet area, the readings, the age and condition of the pipe if it is visible, and a note of when the problem was first noticed give an adjuster something to read. The page on documentation and moisture records for a claim explains what a good record contains.
What moves the price of burst supply line work?
How far the water traveled, how many rooms and floors it reached, how much has to be opened, and how long it ran. The price is explained and confirmed before work starts.
No price figure appears on this site. A split found within minutes of starting costs less than one that ran overnight, because far less material is wet. A break in a single wall bay costs less than one that sent water through a ceiling into a room below. Finishes matter too, since a finished ceiling or hardwood floor adds both removal and rebuilding.
The pipe repair is a plumber's separate job and is priced separately. The scope for the water work should say what is extracted, what is opened and why, and how drying will be measured. The guide to what moves the cost of water damage restoration explains the factors in order of weight.
Who repairs the pipe, and what should I ask?
A plumber licensed through the Maryland Department of Labor does. Ask for the license number and verify it with the Department rather than with the plumber.
Plumbing work in Maryland requires a license from the Maryland Department of Labor, issued at master, journey and apprentice levels. A master license covers water supply, drainage and gas piping, but not heating or cooling. A technician who dries a building does not repair the pipe, and the two trades should be able to say who is doing which part before work starts.
If the repair involves rebuilding walls, ceilings or floors, the contractor doing that work needs a license from the Maryland Home Improvement Commission for home improvement on homes and apartment buildings of three units or fewer. Whether extraction and drying alone count as home improvement is not something this site can say, so ask for the license where repairs or rebuilding are involved.