An intolerance to coffee could be causing your upset stomach. 