My guess is it wasn't random, that the vehicle was intended to damage or destroy the building but it went off early and they didn't count on the vehicle being so resistant
It would have been pretty bad if it had been parked under the hotel and the battery had caught, but as it was the blast was directed up and into the cabin, and the fire was contained to the tray and the cabin leaving the battery safe