The energy of a charged particle remains constant while moving in a magnetic field because the magnetic force does no work on the particle. This is due to the fact that the magnetic force is always perpendicular to the velocity of the charged particle, and hence it does not change the kinetic energy.
Since the magnetic force does no work on the charged particle, the energy remains unchanged. Thus, both the assertion and the reason are true, and the reason correctly explains the assertion.