The correct response is:
d It was heated and put under pressure.
Gneiss is a type of metamorphic rock that forms from the alteration of pre-existing rocks (either igneous, sedimentary, or other metamorphic rocks) through the processes of heat and pressure.