what can cause a persistent cough

postnasal drip.

asthma, especially cough-variant asthma, which causes a cough as the main symptom.

acid reflux or gastroesophageal reflux (GERD)
chronic bronchitis.
infections, such as pneumonia or acute bronchitis.