There is nothing mysterious about this if you simply assume the electron aligns with the measurement direction.
It does this because it necessarily interacts with the measurement apparatus, which in this case is an anisotropic magnetic field!
“Things rotate when they are rotated! News at eleven!”
The vast majority of quantum mechanics has easily explained with ordinary wave mechanics.