A friend of mine had this problem. she was a vegan at the time and developed a lot of gastric distress. I think she wound up being low on B complex. Once she adjusted her diet (and maybe took supplements for a while?) the problem cleared up. She did go to the doctor and get bloodwork done to find the problem though.