Stress can cause pain. (so can lots of other things of course. It would be important to rule out other health conditions that cause similar types of pain first e.g. heart condition)
Stress and its effect on physical pain
from PsychCentral
Stress: How It Affects the Mind and Causes Pain
By Dr. Mark Wiley, The Healthy Back Institute
A Cyclic Back Pain Example...