Typically, a river flows over a large step in the rocks that may have been formed by a fault line. As it increases its velocity at the edge of the waterfall, it plucks material from the riverbed. This causes the waterfall to carve deeper into the bed and to recede upstream. Often over time, the waterfall will recede back to form a canyon or gorge downstream as it recedes upstream, and it will carve deeper into the ridge above it.
Often, the rock stratum just below the more resistant shelf will be of a softer type, meaning that undercutting due to splashback will occur here to form a shallow cave-like formation known as a rock shelter or plunge pool under and behind the waterfall. Eventually, the outcropping, more resistant cap rock will collapse under pressure to add blocks of rock to the base of the waterfall. These blocks of rock are then broken down into smaller boulders by attrition as they collide with each other, and they also erode the base of the waterfall by abrasion, creating a deep plunge pool or gorge.
Baatara gorge waterfall near Tannurin, Lebanon.Streams become wider and shallower just above waterfalls due to flowing over the rock shelf, and there is usually a deep pool just below the waterfall because of the kinetic energy of the water hitting the bottom. Waterfalls normally form in a rocky area due to erosion. After a long period of being fully formed, the water falling off the ledge will retreat, causing a horizontal pit parallel to the waterfall wall. Eventually, as the pit grows deeper, the waterfall collapses.
Waterfalls can occur along the edge of a glacial trough, whereby a stream or river flowing into a glacier continues to flow into a valley after the glacier has receded or melted. The large waterfalls in Yosemite Valley are examples of this phenomenon. The rivers are flowing from hanging valleys