Good post. Thank you for sharing your experience. Usually vomiting is a way your body cleans it self. Not everyone go through it.
I don’t think when you are not eating the stomach produces more acid. Stomach acid actually reduces when you don’t eat. However, there are people who experience back up bile due to toxic liver and external stimulations also may trigger more acid secretion, I.e. looking at food items, smell of food and putting anything but water in your mouth, etc.