is part of the allergy/eczema
/asthma triad which is controlled by several genes.
Various factors controling the mechanics in lung pasageways trigger airway tigtening or relaxation over time an imbalance with excess tightening will emerge. Infection may trigger this in infancy but irritants, & other triggers will dominate. Meds can control it but true asthma is a lifelong tendancy.