A hanging valley forms when the retreat of the sea cliff proceeds faster than the downcutting of an entering stream or river.