Stair-step cracks in buildings are typically caused by foundation settlement or shifting. This can occur due to soil movement, poor soil compaction, or changes in moisture levels. Helical piers are used to repair these cracks by being driven deep into the ground until they reach stable soil. They then transfer the weight of the building from the unstable soil to the stable soil, stabilizing the foundation and preventing further movement.