Question: why does the top of my stomach and ribs hurt?
Answer: 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.