The chest operates under negative pressure.
So any injury that disturbs the lining around the lung, the pleura, also immediately removes that negative pressure. Positive pressure in the pleural space pushes the lung down, aka collapse lung. A chest tube
, re-establishes the negative pressure. Once the lung is re-expanded, and the injury healed, the chest tube can be stepped down and then removed.