Stomach pain when breathing is often due to a problem with the diaphragm or the tissues in the chest cavity. Possible causes include injuries, hiatal hernia, pregnancy, pleurisy, and gastroesophageal reflux disease (GERD). Learn more here.