A new heuristic model of interaction of an atomic system with a gravitational wave is proposed. In it, the gravitational wave alters the local electromagnetic field of the atomic nucleus, as perceived by the electron, changing the state of the system. The spectral decomposition of the wave function is calculated, from which the energy is obtained. The results suggest a shift in the difference of the atomic energy levels, which will induce a small detuning to a resonant transition. The detuning increases with the quantum numbers of the levels, making the effect more prominent for Rydberg states. We performed calculations on the Rabi oscillations of atomic transitions, estimating how they would vary as a result of the proposed effect.