Cells that fail vent hot gas and particles. The housing either routes that away or traps it.
The vent on each cell needs open space in front of it. A holder that caps the vent end, or a lid that sits right against it, turns a single cell event into a pack event. Many designs mold a channel or plenum that collects gas from the cells and leads it to one exit point, away from the neighbors.
Sealed packs also need to breathe during normal use, because temperature swings pump air in and out. A pressure equalization vent with a membrane is usually welded or snapped into a molded port. The port geometry and its sealing face are part of the housing design.
Thermal pads, gap filler, and cooling plates change how much heat reaches the plastic. Tell us what touches the housing so resin choice and wall layout account for it.