Undercooked lentils will be crunchy, and could lead to stomach discomfort and diarrhea since some of the compounds may not be broken down. Cook lentils longer if needed, and add more water for them to absorb and become softer.