Physical Pain vs. Emotional Pain

I understand that our thoughts create our feelings. But sometimes my stomach hurts and I’m in so much physical pain that I start crying. Is that an emotional response or just biological? I guess it could be both but it does really feel like some times I have no control over how my body is responding. I get frustrated when I start crying because that must mean my thoughts are negative. In other words, is it possible to have an emotional reaction to physical pain separate from my thoughts? I hope that makes sense!