Wadi Rum, often called the "Valley of the Moon" in Jordan, was formed through a complex geological process spanning over 300 million years. Its foundation is a massive bed of Pre-Cambrian granite, which was eventually covered by layers of red and white sandstone. These layers were deposited by ancient rivers and oceans during the Cambrian and Ordovician periods. The distinct "alien" landscape we see today is the result of tectonic movements associated with the formation of the Red Sea Rift, which "uplifted" the entire region. Following this uplift, extreme physical erosion by wind and water—specifically "thermal expansion" and flash flooding—carved the sandstone into its iconic jagged peaks, deep canyons, and natural arches. The varying colors of the desert, from deep crimson to pale tan, are caused by the presence of iron oxide and other minerals within the sandstone, which have been weathered and oxidized over millennia by the harsh desert sun.