Magma that cools below the earth’s surface form