Energy transfer between vibrational, rotational, and translational degrees of freedom of a molecule during a collision process is enhanced when the classical frequencies associated with the initial state are in the proximity of nonlinear resonance conditions. We present an analysis of the classical resonant effects in the collisions of light diatoms with periodic surfaces, and discuss the initial conditions in which these effects can be observed. In particular, we find that for grazing incidence and resonant initial values of the classical frequencies, corresponding to specific vibro-rotational molecular states and translational energies, an efficient energy transfer between the intramolecular vibro-rotational degrees of freedom and the translational degree of freedom along a symmetry direction on the surface can be found. This efficient energy transfer manifests itself in the emergence of specific peaks in the molecular diffraction patterns. The predictions of the resonance analysis are contrasted with the results of classical trajectory calculations obtained in a diatom-rigid surface collision model.