Mesas form by weathering and erosion of horizontally layered rocks that have been uplifted by tectonic activity. Variations in the ability of different types of rock to resist weathering and erosion cause the weaker types of rocks to be eroded away, leaving the more resistant types of rocks topographically higher than their surroundings. This process is called differential erosion.
Hope it helps!