For decades, scientists have studied sand dunes without a complete picture of where they exist and why they form. A new global study is now uncovering the surprising rules behind these ever-changing landscapes.