Tesla told local media that the blaze was likely caused by some sort of impact to the underside of the Model 3, where its battery pack is housed.
The text above is a summary, you can read full article here.