Carpet is two layers over a subfloor, and each holds water differently. The face of the carpet gives up water fairly readily, but the padding underneath behaves like a thick sponge pressed against the floor, so passing a wand over the surface barely touches what is held below. Pros extract padding by using weighted tools that press down and draw water up through the carpet, or by detaching and lifting the carpet to extract and remove the padding directly when it is too saturated to recover. The subfloor beneath then has to be dried in its own right, because that is where moisture lingers after the carpet feels dry.
When the water is contaminated, the calculation changes. Gray and black water carry contaminants that soak into porous padding and carpet backing where they cannot be reliably cleaned, so extracting that water is often paired with removing and discarding the padding, and frequently the carpet, rather than trying to salvage it. Hard, non-porous surfaces underneath can usually be cleaned and sanitized, but the porous layers that drank up contaminated water are generally not worth saving.