What is the reason for shortness of breath when I get angry?

Bad moods due to anger sometimes inhibit the respiratory centre, and when the respiratory centre returns to normal it takes an involuntary deep breath, which is a compensation between brain excitement and inhibition.
This can sometimes manifest as shortness of breath in the chest.