My coughs and mucus taste and smell of vomit, why is that?

Post nasal drip. Once your mucus enters the stomach it mixes with acids, proteins and sulfur producing bacteria which will assist with the smell and taste. You should be increasing your water intact on a daily basis.