Although there are many ways to treat IBS, the exact cause of IBS is unknown. Possible causes include an overly sensitive colon or immune system. Postinfectious IBS is caused by a previous bacterial infection in the gastrointestinal tract. The varied possible causes make IBS difficult to prevent.