IBS is mainly due to pitta imbalance, due to vitiated pitta dosha, ama the toxins are formed. This ama along with vata doshas cause loose motion or constipation along with acidity and other gastric issues.