Kind of contrived, but if you're sending a signal from some other planet to our planet, depending on the geometry, there will be times of the year that our local star is in the way of photons.
Also, if you're sending out photons from a planet, chances are there's a local star nearby. Stars tend to be a broad-spectrum photon source, which is going to make it tough for receivers to decode the intentional signal.