I think its because when I turn them off the raccoons climb the coop trying to get in. They probably still do it with the light on but maybe its not as scary.
I have mine in two horse stalls with shoplights overhead. The lights stay on all the time which isn't good for them, but if I turn them off, they will scream for hours till I turn them back on.