A stomach upset or indigestion. pepsis being digestion.
It can make people irritable (with pain) so sometimes it refers to those who are cantankerous or bad tempered!