Nice work on my riddle guys!
I think one light went off because it short circuited from some frayed wire and electrocuted the man and then the other is one of those dark-sensing lights and went on because the other was off?
The electrocution makes sense but not the dark sensing lol