Why is the floor under the machine worse than the floor you can see?
Because the machine covers it. Water under the footprint has no airflow over it and no light on it, so it sits against the subfloor for as long as the leak lasts and dries far more slowly than the open floor beside it.
A laundry area usually looks almost fine at the moment of discovery. The open part of the floor has been walked on, wiped and aired, and the only clue is a slightly different color at the edge of the footprint. Underneath, the panel edges and the fasteners have been in water, and on a sheet-good floor the underlayment is often the wettest material in the room.
This is why the unit comes out early rather than late. Reading moisture through a machine tells you nothing, and drying a room with its wettest square yard sealed under an appliance is wasted equipment time. Moving it takes minutes and changes the whole picture of the job.
Is water from a washing machine clean?
It depends which side failed. A supply-side failure is clean water at the moment it leaves the hose. A drain-side overflow is used wash water, which is treated as contaminated and handled differently.
The distinction changes what can be saved rather than just how the work feels. Clean water that is found early allows more material to be dried in place. Used wash water, or water that has backed up out of a standpipe, means that absorbent material in the affected area is removed rather than dried, and that surfaces are cleaned as part of the work rather than only dried.
Time blurs the line. Clean water that has been standing in a warm closet for two days against a wood floor is no longer in the same category it started in. A technician will tell you which case your situation is being treated as, and the reasoning should be about the source and the hours, not about the appliance brand or the room.
What changes the size of an appliance leak job here?
Where the laundry sits in the building, how long the leak ran, what the floor is made of, and whether the water reached a ceiling or another room. No figure appears on this site, and the scope and price are agreed with you before any work starts.
Location does most of it. A laundry on a cellar floor or a slab, found early, is a contained job. The same failure in a second-floor closet is at least two rooms of work, because the ceiling below, the wall cavity the water ran down and the floor assembly between them are all involved. A hallway closet with a cabinet run beside it adds the cabinets.
Floor material is the other lever. Tile over a concrete floor gives water up readily. Sheet vinyl traps it against the subfloor and often has to be lifted. Laminate and engineered boards swell at the joints and usually cannot be dried back flat. None of that is known from a phone call, which is why the walk-through happens before anything is committed.
Do you repair the appliance or the plumbing as well?
No. This is cleanup and drying work. The failed hose, pump, valve or drain is a plumbing or appliance repair, and it needs to be done before the drying is signed off or the same floor gets wet again.
In practice the sequence is usually straightforward: the valves are closed and the machine stays off, the cleanup and drying proceed, and the repair is arranged in parallel. What a crew can do is tell you exactly what failed and where, which makes the repair call a short one. Guessing at the cause after the fact is much harder once everything is dry.
Where a drain is the problem rather than the appliance, the fix belongs to the drain. A standpipe that cannot take the discharge, or a line that is partly blocked, will overflow again with a brand new machine in place. The sewer and drain backup cleanup page covers the cleanup side of a drain that is backing up.
How do I keep this from happening again?
Three habits cover most of it: look behind the machine occasionally, replace supply hoses on your own schedule rather than after a failure, and close the supply valves if the house will be empty for a stretch.
Looking behind the machine is the one that finds slow failures early. A damp fitting, a stiff or bulging hose, a drain hose that has crept out of the standpipe and a stained patch of floor are all visible in ten seconds if anyone ever looks, and none of them are visible otherwise. Keeping the area clear enough to pull the unit out matters more than it sounds.
A drain pan under the machine is only useful if it goes somewhere. A pan with no outlet holds one small spill and overflows on a large one, which is worse than nothing because it delays discovery. If there is a pan, know whether it is piped to a drain, and treat an unpiped one as a tray rather than as protection.