because the fields ( the ones generated by the current flowing in the loop) in the 4 sides of the loop are equal and opposite
that is ... the field in the left long side is equal and opposite to the one in the right long side, so those 2 cancel out
and the one in the top short side is equal and opposite to the one in the bottom short side, and again those 2 cancel out
This leaves only the effect of the magnetic field generated by the straight wire has on the loop
again, the one in the top short side is equal and opposite to the one in the bottom short side so there is no
force on the top and bottom sections
BUT
there is a difference in force on the 2 side sections from the straight wire generated field.
The left side ( the one closest to the straight wire) is subject to a stronger force than the right side
as he shows with the larger arrow pointing to the left than to the right.
This causes the loop to move sideways to the left ( towards the straight wire),
Dave