A DC motor contains a split ring commutator that reverses the direction of the current every 180 degrees which reverses the force direction, allowing constant directional torque and rotation.
Recall that F=nBILsin(θ), meaning torque is greatest when the coil is perpendicular to the magnetic field (θ=90).
In both parallel and radial magnets (usually what DC motors have), the magnetic field is always perpendicular to the coil, resulting in a constant force on the coil.
i.e F=nBILsin(90),
F=nBIL(1)
F=nBIL