Why is the roof of my mouth feeling swollen after throwing up?

ACID. The stomach contains hydrochloric acid. When vomiting, this material can irritate the throat and mouth. Also, the straining may irritate the soft palate.