This varies from small cause to the danger one. Due to some seasonal changes the common cough occurs. This is acute cough and usually settles in less than a week or two. This is physiological when something other than the air enters into windpipe called as trachea. Some illness like pneumonia, acute heart failure or a clot in the blood vessels of the lung (pulmonary embolism) also gives symptoms of cough.
Some other conditions like smoking and asthma gives rise to coughing. In the condition like gastro-esophageal reflux the content of stomach travels upwards and get into the trachea and so the lungs causing cough. Some drugs like angiotensin converting enzyme (called ACE) inhibitors produce cough by their action. As described earlier this could be due to any infection like virus, bacteria and many more. Apart from these entire one can get coughing if he is allergic towards something unidentified.
Environmental substances which irritate the lungs, air passage and throat may produce coughing. Other materials that produce coughing may include pet dander, particulate matter, cigarette smoke, pollens, pipe smoke and low environmental humidity.
Within the lungs, some common and uncommon factors like bronchial asthma, chronic bronchitis, emphysema, cancer, sarcoidosis and congestive heart or cardiac failure also produce cough in human body.
This also depends on the profession like a person who is working in chemical factory or mines or some factory that produces detergent soaps, deodorants, cotton materials, fabrics etc. In these factories pollens and debris in the air causes an irritation to the trachea and finally the cough is produced.
Ayurveda states this is Kapha Dosha oriented disease. When one starts having food material or promotes the factors that aggravate the Kapha Dosha gets coughing. Ayurveda also favors some major diseases described above in which cough is one of the main symptom. Other factors like excessive running and exercises may also cause cough. Further, if one staves off natural urge like sneezing, yawning etc. is prone to produce this disease.