Stress and strong emotions can present with respiratory symptoms, such as shortness of breath and rapid breathing, as the airway between the nose and the lungs constricts. For people without respiratory disease, this is generally not a problem as the body can manage the additional work to breathe comfortably, but psychological stressors can exacerbate breathing problems for people with pre-existing respiratory diseases such as asthma and chronic obstructive pulmonary disease.
https://www.apa.org/topics/stress/body