Clay soils are expansive: they swell as they take up water and shrink as they dry, and the volume change is large enough to move a building. A mature tree is a powerful and highly localized dewatering machine, drawing hundreds of gallons a day through its root zone during the growing season. Next to a shallow foundation on clay, that withdrawal dries the soil under one part of the footing while soil further away stays wetter, so the clay shrinks unevenly and support is lost on one side. The result is differential settlement, which is what cracks foundations and racks door and window openings — uniform settlement is far less damaging. The effect is seasonal and worsens in drought, which is why the damage often appears years after the tree was planted.