Features of magnetized motion of electrons in electron cooling devices