Joshua Tree's interesting rock formations were formed by water erosion along a grid like pattern of joints in the granite. The corners eroded first (like an ice cube under water), creating individual rocks stacked and balanced in some cases and large boulder piles in others.