Difference between a tectonic and volcanic earthquake?

How are tectonic and volcanic earthquakes differ?