The exact cause of IBS is unclear, but factors like abnormal gut motility, sensitivity to certain foods, gut-brain axis dysfunction, and stress may contribute to its development and symptoms.