The best response that explains how energy could have played a role in the formation of different rock types is:
a
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 correctly identifies the different energy sources (geothermal energy from within the Earth leading to igneous rock formation, and solar energy leading to weathering and sedimentary rock formation) that result in the formation of distinct types of rock.