The yellow is stomach bile. Its from having nothing in ur tummy to throw up. Its perfectly normal and fine. Try and eat some crackers and keep water by ur bed to help settle ur tummy at night
Sounds like stomach acid it usually burns your nose and throat especially when you try to drink right after.
I was pregnant went that happened