Like sand dunes and rock arches, canyons are formed by erosion. Usually, this occurs with softer rocks like sandstone because tougher rocks are less malleable and flexible. The creation of a canyon can take decades or more to form. Canyons can also be a result of weathering.