Clay based soil is the bane of many home foundations as it expands and contracts due to well known physical science principle known as osmotic pressure.
This pressure acting upward underneath a home’s cement foundation is what caused the separation between the white baseboards and the brown shag carpet you see in the photograph shot in a southeastern NM home. Owners of Residences in Carlsbad, Artesia, Roswell, and Hobbs are well advised to consider an engineered foundation rather than deal with stucco cracks, crown molding gaps in ceiling, drywall tearing apart at taped seams, compromised trestle frames,etc.
Once water gets underneath home foundation soaking the clay particles in the soil, the contraction/expansion cycle repeats with it being very unlikely the soil will dry at a rate comparable to the exterior soil. This creates an upward bowing of cement slab foundation stressing the wooden studs screwed to foundation which support the entire frame of the home.