How did this occur? Water intrusion? Cells got too hot? Short of some kind? I’ve gotten 18650’s wet before (and they were ruined) and never had a fire situation. Glad you made it out alive!
I saw this was your build but you never really talked about the electronics: