Just look at where the batteries are stored in a Tesla.
Typical car fire:
You can see in these examples that the fire is contained in the engine bay. The cab won't spontaneously catch fire; it has to spread from where the source of the fire is.
EV fire:
This video clearly shows the batteries exploding when on fire.
Plus they can be harder to put out:
An interesting read:
https://batteryuniversity.com/learn/...ns_with_li_ion