The formation of fold mountains occurs when two continental plates collide and their edges rise and buckle upwards. This process results in the creation of anticlines and synclines, where rock layers, or strata, are folded upwards or downwards, respectively.