Beans and Lentils Beans may be known as the "musical fruit" in the funny children's rhyme, but if you suffer from IBS, eating them is not likely to make you feel like laughing — and that goes for lentils too. These foods tend to be difficult for people with IBS to digest, and they often cause gas, bloating, cramping, and diarrhea.