if the wave travels in a circle, with an initial energy of P ( linked directly to wave "intensity" ), The wave energy at a distance r from the initial point is kP/r², k being a constant.
Waves can obsorbed by electrons so there is less waves so its less intense. We know this is true because in a vacuum they remain at lot more constant. More eletrons between source means more waves being obsorbed.
HOPE IT CLEARS