magma solidifying and forming crystals. all solidification of molten rock. the weathering of solid rock into separate pieces. sediment turning into rock. one type of rock being changed into another type.