Brandon B. answered 03/11/21
Cornell Physics PhD. 10+ years teaching college math/physics.
The force on a charge q in a magnetic field B moving with a velocity v is F = qv x B. This involves the cross product of v and B. The cross product always outputs a vector that is perpendicular to the input vectors. Thus F is perpendicular to both v and B.
The force on a charge q in an electric field E is F = qE. So we see that the magnetic force is always perpendicular to B but the electric force is not perpendicular to E.