When temperature and pressure within Earth cause the atoms in existing minerals to reorganize forming a new mineral. What role do minerals that make up a rock and the way a rock forms play in the appearance of rocks? -some layers of rock may have been created by layers of sand pressed together and cemented over time.