Dash Oil and Brake Warning light - how are they triggered in the start function?

I thought i was following along here..... but then why dont they come back on when the key is released from "start" position??
They won't if the engine starts, has oil pressure, and is charging. Sometimes, if the engine does not start, it will have enough oil pressure to hold the oil lamp off, but the "charge" light should return.