Sum-frequency generation is a "parametric process", meaning that the photons satisfy energy conservation, leaving the matter unchanged