1 Coughing is often triggered by mucus that drains down the back of the throat. 2  Infections. 3  An infection of the lungs or upper airway passages can cause a cough. 4  A productive cough may be a symptom of pneumonia, bronchitis, sinusitis, or tuberculosis.