Because that's what inductors do: they try to keep the current constant.
Think of a flywheel: difficult to get spinning and hard to stop once spinning.
An inductor stores energy in the form of a magnetic field which takes energy to build and releases energy when it collapses.
When there's no current flowing through the coil and its energised, energy is needed to build the field. If the current is suddenly interrupted, the field collapses which induces a high voltage spike which forces the current to carry on flowing by arcing over the switch contact.
Think of a flywheel: difficult to get spinning and hard to stop once spinning.
An inductor stores energy in the form of a magnetic field which takes energy to build and releases energy when it collapses.
When there's no current flowing through the coil and its energised, energy is needed to build the field. If the current is suddenly interrupted, the field collapses which induces a high voltage spike which forces the current to carry on flowing by arcing over the switch contact.