i have read that the back up of bile from the liver and gall badder back into the stomach causes vomiting. you can tell if when you vomit it has yellow (maybe it could be brown too, i don't know) bile at the end and once that is out you are ok.....
sound like the excellerated water fast. maybe a juice fast would be best. it is slower, and less dramatic.