IBS generally occurs during the final phase of digestion which results in the large intestine. It is here that diarrhea, constipation, and painful cramps can manifest as a result of how an ingested food mass passes through the intestine.