Could well be a battery issue, mine is on its last legs and sometimes if it's a bit run down after start stopping (say during maintenance etc..) and not quite enough to start the engine my headlights turn themselves on.
Very weird.