Wheezing can be caused by narrowed airways due to inflammation, mucus buildup, or constriction from conditions like asthma, allergies, or respiratory infections.