Circuit design · Driving loads
A relay coil's current cannot stop when its MOSFET turns off; where it goes sets the spike and how fast the relay lets go.