The best response to explain how energy played a role in the different rock types forming is:
c. Energy from different sources leads to different types of rock. Energy inside Earth melts rock into liquid rock, but energy from the sun causes rock to weather into small pieces of rock.
This response accurately describes how internal Earth energy can lead to the formation of igneous rock through melting, while solar energy influences weathering processes that break down rocks into smaller pieces, which can contribute to sedimentary rock formation.