During a panic attack, a coronary artery spasm can be caused by both activations of the autonomic nervous system and hyperventilation (which can cause alkalosis). This can then cause myocardial ischemia and chest pain from the heart.