Most (though not all) ICE car fires start with fuel leaking on a hot surface (typically the exhaust). Some start with an electrical short circuit or water (coolant) leak on electrical components (I even had the 12V battery explode on me once, though it didn't start a fire, just badly messed-up the engine bay).
EV fires are usually caused by thermal runaway in a damaged or faulty cell (flammable coolant is no longer used).
Statistically, EVs are less likely to catch fire, but when they do, it can't be extinguished until the fire consumes itself.
Diesel oil burns horrifically, for hours, generating high temperatures, thick black smoke that (perhaps luckily) will kill you before the fire gets you.
Choose your death................