The formation of a rift valley at divergent plate margins is when two continental plates move apart. The rocks eventually fracture to form parallel faults, as such these rocks collapse to form deep rift valleys with steep sides. As the plates move apart, the decrease in overlying pressure causes parts of the underlying mantle to melt, forming magma. The magma then rises through the weak areas in the crust to the earth’s surface, forming volcanoes.