The release of magma from the crater is called a Volcanic Eruption. An Earthquake is caused by the release of stored energy in Earth's crust along fault zones. An earthquake is any shaking of the ground, an earthquake can likely happen when a volcano erupts, called a Volcanic Earthquake. While tectonic earthquakes are cause by movements of the plate boundaries. According to your question it doesn't exactly clarify what kind of earthquake so I'm guessing false. (ignore my grammar hehe)