This sometimes happens when the lung is already injured somehow , like from diseases such as cancer or cystic fibrosis . The most common cause of closed pneumothorax is called spontaneous pneumothorax .
Secondary spontaneous pneumothorax occurs in the setting of a variety of lung diseases .