The best response that explains how energy played a role in the formation of different rock types 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.
This response accurately describes how different types of energy, both internal (geothermal energy) and external (solar energy), contribute to the formation and alteration of various rock types, such as igneous and sedimentary rocks.