Hanging valleys are formed when a smaller tributary glacier carves a U-shaped valley that is shallower than the main valley carved by a larger glacier. When the glaciers retreat, the tributary valley 'hangs' above the main valley, often creating spectacular waterfalls. Rivers, waves, and volcanic activity do not create this distinctive glacial landform.