Based on the information provided in the options, the two correct relationships are:
A. Rocks can melt and become magma.
B. Rocks at the surface are subject to weathering.
Options C, D, and E are incorrect. Rocks can form through various processes, including cooling magma (not just lava), are not primarily formed by heat and pressure from the Sun (but rather from geothermal processes), and do not always begin as metamorphic rocks.