Mountains are formed when sections of the earth's crust are elevated differentially relative to the surrounding surface. They can be built by volcanism or by rock deformation.