There are many causes of a prolonged cough, depending on the nature, duration and age of the child. A dry cough at night with exercise could be due to asthma. A persistent wet cough could be due to more serious conditions such as cystic fibrosis. Other causes include post nasal drip, gastro-oesophageal reflux and autoimmune diseases.