Top and centre:
The sensor is biased to the up direction, so if you drive under a bridge, despite a lot of surrounding light, the lights will almost always come on.
You'll have to look up next time, to see the light levels. If the main intensity is from the front, the light could play with the sensor, like it can on a digital camera.