7805 regulators are easily and often fried by the spikes in an automotive electrical system. Spikes and surges of > 125 V have been noted. I’ve attached a schematic for a spike and noise protection circuit that I’ve used – the 1.5kE18 diode is a 1.5 kW surge suppressor Zener and costs only about $0.25 at Mouser.