That's an electrical fire. ICE engines rarely spontaneously combust when parked in your garage.
In fact, I cannot think of it ever happening. The most recent thing that matches your perception was a Ford model that was know for catching fire when overheating.
https://edition.cnn.com/2022/02/08/business/hyundai-kia-fire...