What is a cause of volcanic eruptions?

1) A volcanic vent brings magma from the core to the surface.

2) Every mountain eventually erupts due to its size.

3) Earthquakes generate heat underground leading to eruptions.

4) Hotspots near a plate boundary can cause eruptions.