I had D and stomach problems as a child. For instance I would get D and/or I would vomit every morning before school or some social event (unless of course you told me school was canceled for the day, then suddenly I was fine.) So I would assume it is stress or anxiety related. I am now IBS-C. I guess it just switched when I started to calm down and control my anxiety a little ...I can't win.