The minecart is not on the detector rail, and the light is off.
When the minecart travels over the detector rail, the light is illuminated.