This illustrates the Lorentz force, or Laplace force, as predicted by Maxwell’s equations. A current flowing through a magnetic field experiences a force determined by the cross product of the current vector and the magnetic field.
See demonstration K1-03 in this section for a larger version of this demonstration for classrooms.