I have crohns it is under control I used to throw up bile 10 times a day. Now I can eat if you are bulking and eating a lot you will poop more duh. I don't even take the medicine they gave me for chrohns anymore. My HR is high from training and supplements no concern there as my BP and Cholesterol are great
Sounds more like your body was either toxic, or you were suffering from some form of withdrawl.
Throwing up bile/not being able to keep anything down (even water) can be a sign of severe liver or kidney issues.
If your liver or kidneys become severely compromised, then it becomes extremely difficult for them to process and filter waste from your body. Meaning even trying to eat a small meal can overload a nearly dead filtration system.
Another key to note is frothy/bubbly piss. It usually means your kidneys aren't functioning as normal. If your organs go beyond repair, then the end stage is your body going septic. Ammonia builds to dangerous levels in your blood, and your organs start to fail.
Don't ignore the early warning signs of stressed organs.