Answer:
When a divergent boundary occurs, since the two tectonic plates, moves in opposite directions, the resulting opening gives some free magma that intermediately goes freeze and gets solid.
Step-by-step explanation:
When this phenomena occurs, the resulting rocks that are formed by the solidification of magma gives a result 4 types of rocks.
They called malefic igneous rocks because they have a high magnesium and iron content.
If the magma gets cooled in the surface then the volcanic or extrusive igneous rocks are formed.
If the rocks get crystallized inside the volcano, they are igneous intrusive or plutonic rocks.
Hope this info is useful