In this paper we study the resonance interaction between monochromatic electromagnetic waves and fully magnetized electrons in a model parabolic magnetic field (like, e.g., in the Earth's magnetotail). The smallness of certain physical parameters allows us to approach this problem using perturbation theory for multiscale (slow-fast) systems: the study of the global interaction is reduced to the analysis of slow passages of particles through a resonance. At the resonance, two important phenomena occur: capture into resonance and scattering on resonance. We show that while the primary adiabatic invariant (magnetic moment or Larmor radius) remains conserved, these processes result in destruction of the second, longitudinal, adiabatic invariant. We find significant acceleration of particles by capture into resonance, while the scatterings on resonances lead to decrease in energy and chaotization of particles.