Magma wants to shoot out. Sometimes fistops the vent. So one time the volcano erupts.
The cause: rock fall and ash anvalanche.
The crust pulls apart over time. Then there is a place in the middle. So magma go up to fill in the place. This can even happen underwater.