A magma moves upward toward the Earth's surface because it's less dense than the surrounding rock.
A magma refers to a molten liquid rock or semi-liquid rock that is located under Earth's surface.
When a magma is erupted upon the earths surface, it is called a lava before its solidifies.
Therefore, the Option D is correct.
Read more about magma
brainly.com/question/23661578