Why do I vomit foam??

I have sickness in pregnancy and in the mornings I have foamy sick that's literally just foamy!! Thick foam. Is that normal lol? I'm assuming that's where I have a empty stomach