Wheezing is caused when something blocks the normal flow of air in and out of the airway, resulting in a whistling sound as a dog breathes. The blockage can be in either the trachea (windpipe) or large bronchi. Constricted airways from asthma, allergies, mucus, foreign bodies, or infection can all result in wheezing.