The magnetic field strength
deflects more or less
galactic cosmic rays which are really very high energy charged particles and the interaction between charge and magnetic field strength
deflects them just like the magnets on the yoke of a cathode
ray tube
deflects an electron beam.