Nuclear fission is used enable to release energy in power plants. The constant collision of particles within the reactor, create most of the plants energy.
Shallow ones are seismic waves from deep quakes that have to travel farther to the surface, losing energy along the way. shaking is more intense from quakes that hit close to the surface.