And it's far more common for ICE cars to actually explode/burn out. And particularly petrol fires can be very dangerous and lethal. Cars can combust while parked, while driving, or when you get in an accident. It's one of the most common causes for fire brigades to have to take some action. Diesel is a bit safer than petrol but it will burn if things get hot enough. And cars and trucks overheat and catch fire for all sorts of reasons.
EVs are much safer both in absolute numbers and relative numbers (if you consider there are far less EVs than ice vehicles). They do occasionally burn of course. And usually those fires aren't very explosive and give you plenty of time to get out of the vehicle and to safety. Fatalities/injuries are rare with this.