SYAC: "Potting, which uses a hardening resin poured between cells to isolate them from each other and the environment, can mitigate the two biggest factors resulting in fires: corrosion and physical damage."
Actually: makes them non repairable, hard or impossible to recycle, and inscrutable so you can put anything inside like a counter that kills the battery once it's past the warranty and a reasonable life but still likely to buy a replacement instead of changing brands.
I was fortunate to switch to Grin's LiGo potted batteries a few years ago. They're spectacular not only because they're potted but also because they have per-cell balancing and monitoring.