Panic attacks are physical not psychological in origin even though they can be slightly exacerbated by psychological input. Before my celiac disease was diagnosed I used to have frequent panic attacks. Hell compared to the type of mental clarity I enjoy now I basically was in a nonstop panic attack for about 15 years (save while doped out on heavy benzodiazapenes). Years of cognitive behavioral therapy and pharmacological intervention and it turned out it was simply a matter of mental control from the USDA.
"You can demonstrate the purpose and limits of human digestion with a simple experiment: eat a steak with some whole corn kernels, and see what comes out the other end. It won’t be the steak."