Volcanoes erupt when plates slide inside the earth witch causes a earthquake then the magma in the center of the earth's core rises up. The magma melts rocks and it makes a river of magma and it rises up to an active volcano and it erupts.