Light can set off a motion detector. If the detector uses light-based sensors, such as PIR sensors or area reflective sensors, turning on the light creates a rapid change in the electromagnetic spectrum the sensors are reading. That change can register as a movement.