Hello.
Hyperventilation is normal and can be worrying at times,There are many reasons that can cause hyperventilation from,A cold/Flu/Stress/Anxiety and constant worrying,Overexertion,Working your body too intense,too fast,without giving your body time to warm up/prepare.Muscular systerm,Central nervous system fatigue could cause this.A overexerted chest,or inflamed muscles in and around the chest and ribs can cause a tight feel causing anxiety,heart attack symptoms,then shortness of the breath,to hyperventilation.
If someone is hyperventilating it can be a scary experience with many symptoms.The breathing in the bag trick does help psychologically as in the back of our mind we know that doctors,Paramedics and other health professionals recommend this which in return makes us feel safe/Safer.
The bag also helps one when breathing in as when we feel we are gasping,Choking,our brains tend to focus in the moment and on the symptoms and the feeling,When one uses a bag to breathe, you hear the bag and the air moving in and out and the sound of the bag inflating and deflating.this itself can take our mind off focus.