Coffee has been shown in studies to be anti inflammatory which means that coffee is supposed to protect against inflammation.
So coffee should not cause inflammation in your stomach or anywhere else.
Inflammation of the stomach or gastritis is most commonly caused by bacterium named Helicobacter pylori or H. pylori, and 2) nonsteroidal anti-inflammatory drugs (NSAIDs).