Why does indigestion get so bad it makes u vomit?

Vomitting. No one know for sure but intuitively it is an evolutionary adaptation that allows one to reject noxious agents from one's system.