How do igneous rocks form?(1 point)

from the evaporation of water
from the cementing of sediments
from the cooling of magma
from the modification of existing rock

From the cooling of magma