An electromagnet has significant inductance, and resists changes in the current through its windings.
In powerful electromagnets, the magnetic field exerts a force on each turn of the windings, due to the Lorentz force q\mathbf{v}\times\mathbf{B}\, acting on the moving charges within the wire.