The loop acts like a magnetic dipole. Its magnetic moment μ tries to align with the external field B. The torque magnitude is proportional to sin θ, so it is largest near 90° and vanishes in the aligned and anti-aligned positions. Drag on the canvas to rotate the 3D camera.