Chest pain when coughing can sometimes be a sign of a medical emergency like a heart attack. Acute bronchitis causes symptoms like coughing with mucus and chest soreness. GERD involves stomach acid ...