A less-than-cheerful mood due to abdominal pain, either because you're suffering it yourself or you're having to expendsignificant time and effort caring for someone else who's going through it.
Many parents become melancolic when their offspring have long crying-bouts for no apparent reason.