How can light flux decrease after travelling in a medium without scattering it? Does attenuation mean scattering? Also in Infrared spectroscopy, why does the intensity of light decrease when the molecule is vibrating in resonant frequency? Does the electron produce an E field opposite to the incoming E field of the EM wave so that they cancel out? How can we explain it in terms of the particle nature of light?