Following are the factors that are responsible for generating attenuation of optical power in fibre:
Absorption
Scattering
Waveguide effect