Anxiety can cause hyperventilating. Drinking soda water increases carbon dioxide levels in the body to stop hyperventilation, a crucial phase of dealing with severe anxiety attacks.