why does my upper stomach under my ribs hurt?
A pancreas condition can cause pain under the ribs in the middle of the abdomen, in the RUQ, or the left upper quadrant (LUQ). Pancreatitis is inflammation of the pancreas, and it may result from gallstones or overuse of alcohol. Symptoms of pancreatitis include: steady or sharp pain in the upper abdomen.