Viral infections and gastroesophageal reflux disease (GERD) are also risk factors. GERD, where stomach acid backs up into the throat, can cause lung damage if the acid is inhaled.