Why outlets spark when unplugging - EMF & Inductors

I was taught that is is the collapsing magnetic field passing through the coil on its way back to the core. This field traveling at light speed induces current in the coil causing back feed emf. That's why it is always DC.