The coupling between the vibrational motions in neighboring molecules in solid hydrogen and deuterium, arising from the isotropic intermolecular interaction, is shown to be responsible for the anomaly in the ratio of the Raman scattering cross sections of the Qi (0) and Qi (1) vibrational lines, observed by McKague Rosevaer, Whiting, and Allin. The vibrational impurity states associated with molecules of one nuclear species imbedded in a matrix of the other species are imperfectly localized, having an extent determined by the ratio of the vibrational coupling to the difference in the vibrational resonance frequencies of the two species. The Qi(l) intensity due to orthohydrogen "impurities" is enhanced by (in classical terms) in-phase contributions of surrounding para molecules, whereas the Qi(0) intensity due to parahydrogen "impurities" is reduced by out-of-phase contributions from adjacent ortho molecules. The enhancement factors for small impurity concentrations are expressed in terms of Green functions describing the vibrational impurity states, and are evaluated by means of the walk-counting method. In the limit c = 0 of small ortho concentrations, the computed enhancement factor for the Qi(l) intensity is 3.42; as c approaches 1, the Qi(0) intensity is reduced by a factor of 2.29. Both results are in excellent agreement with experiment. In solid deuterium the anomaly is larger because the difference between the resonance frequencies of the two species is smaller. In the limit c = 0 of very small para (J-l) concentrations, the calculated Qi(l) intensity is enhanced by a factor 55, whereas in the limit c-1 the Qi (0) intensity is reduced by a factor 4.86. At the lowest para concentration (c = 3.7%) at which observations have been made, the para-impurities cannot be regarded as independent because of the poor localization of the vibrational impurity states. The theory has been extended to a finite concentration of impurities arranged in a regular superlattice. The calculated intensity ratio at c = S.7% is 49, in good agreement with the experimental value of about 50.