why does the upper part of my stomach hurt?
Pain originating in the stomach or esophagus is often felt in the upper abdomen and can be due to heartburn, gastroesophageal reflux disease (GERD), or hiatal hernia (weakening in the diaphragm that allows the stomach to protrude into the chest). You may also have gastritis (inflammation of the stomach lining) or ulcers.