What causes atelectasis?

What causes atelectasis?

Bronchial obstruction (e.g., by tumor, mucus, or a foreign body) with resorption of air behind the obstruction; pressure from masses or pleural fluid