Analytical and numerical analysis of the atom–field dynamics in non-stationary cavity QED