Can sweat and physical exercises trigger asthma or pneumonia?

What could be the causes for pneumonia, cough, and asthma attacks?