I can’t guarantee that none of those drivers were actually part of Hamas
We need to get passed the idea that the mere presence of a Hamas member justifies all military action. Assuming it is true, what were those Hamas members doing?
Throwing away the vaccines to use the marked car for transporting weapons and fighters? Valid military target (and a war crime)
Assisting in distributing polio vaccines? Not a valid target.
But they didn’t because materials that explode like that simply aren’t used as batteries.
Further, software is not magic. In consumer electronics basic power management is done entirely by hardware. A hack cannot short out the battery, because the circuit to do that simply doesn’t exist. Maybe the hack could cause enough of a sustained power draw to overheat the battery and trigger a failure eventually, but that would still look quite different from what we saw.