It could be the alternater.
AnswerSome cars have a safety switch that shuts the engine off when the oilpressure is to low, but if those lights came on when the car stalled it might be because the lights on the instrument panel that turns on when you start the car usually turns on when it stalls.charge it then try again the battery might have died
You might have a bad battery, a poor connection between the battery and alternator, or a bad ground from the battery.
u might of left the frickin light on
Check the volts right from the battery, might be a faulty alt.
A flashlight may not light if there is no energy source or in this case battery.
Refer to your owners manual. It should have it listed under battery maintanence If light is still on you probably haven't fixed the problem so it might be your alternator or it could be your battery.
Bad Alternator, Bad Battery, loose cables
It might have something to do with the alternator.......... or maybe there is a short in the wiring
Whether the key is on or not, you have a low battery and it might need replacing.
It is possible that your alternator might be going out. It also could be a problem with your battery. You should have it checked by a professional or you could be stranded .
That sounds risky - it might get stuck, and you might need to go to a hospital to get it out again. Somewhat dangerous... as well as embarrasing.
Insufficient charging from your generator (aka alternator).