Minerals in an existing rock are changed by heat or pressure below the surface.