Vaginal discharge

Hi everyone!
I have a lot of problems with my intestines: constipation, pain on the left side, etc but normally i get a lot of vaginal discharge when i'm constipated. do you know why does this happen?
thank you!