Answer:
Earth's interior and the sun
Step-by-step explanation:
"The Rock Cycle. Over many thousands of years, energy from the Sun moves the wind and water at the Earth's surface with enough force to break rocks apart into sand and other types of sediment. ... Sometimes magma cools and forms igneous rock deep underground."