For readers who don’t understand the reference.
Tesla batteries for now are lithium ion, similar to what are in most consumer electronics nowadays.
LiFePO4 or Lithium Iron Phosphate batteries are considered more stable and less prone to, well, self ignition, use less rare metals, and apples to apples have more service cycles. There’s some performance disadvantages compared to lithium ion also.
Much more but that’s the basics.
Sorry to nit pick, but Lithium Ion is a pretty broad term that's applicable to many different lithium ion based chemistries. LiFePO4 (LFP for short) is one such variant, and is Lithium Ion just as the Tesla and other types are. But the different type do vary quite a bit, and in important ways, especially for a boater.
Saying Lithium Ion is a bit like saying lead-acid. You can further break down types of lead-acid batteries into flooded, AGM, gel cells, thin plate pure lead, carbon foam, etc. Each has it's own characteristics.
Tesla batteries I think are LCO which it Lithium Cobalt Oxide. Portable electronics and power tools are often NMC which is Lithium Nickle Magnisium Cobalt Oxide. And there are a bunch of others, including LFP. LFP is different in that it doesn't take off and burn uncontrollably like all the other variants. The biggest fire hazard it typically the plastic case. That makes it much safer in the confines of a boat where you can't simply pull over and step away from the burning car.
That said, when things go wrong, any battery is likely to release all of it's stored energy, and that alone can be a sobering thing, whether it's lead acid, lithium ion, or anything else. But also no different than a tank of fuel releasing all it's stored energy