Rock shelters form because a rock stratum such as sandstone that is resistant to erosion and weathering has formed a cliff or bluff, but a softer stratum, more subject to erosion and weathering, lies just below the resistant stratum, and thus undercuts the cliff.
In arid areas, wind erosion (eolian erosion) can be an important factor in rockhouse formation.