this is called a viscerosomatic reflex meaning when there is an organ problem due to nerve overlap and pain fiber "wiring" it can cause pain in another area (the stomach, pancreas, gallbladder) can all radiate to the upper back.
Please click the green accept if no more questions, positive feedback appreciated
bonuses always appreciated
**Always seek the advice of your physician or other qualified health care provider with any questions you might have regarding a medical condition. Never disregard professional medical advice or delay in seeking medical treatment due to information obtained here. The content of the response, such as text, graphics, images, and information posted on the site as well as information obtained through "links" on this site are for informational purposes only. This answer is to the best of my knowledge and experience and is in no way infallible**