Wiktionary
bad taste in one's mouth
n. 1 (context idiomatic English) A feeling something is morally despicable as to cause nausea. 2 (context idiomatic English) A feeling of guilt, responsibility, or embarrassment as to cause nausea. 3 (context idiomatic English) A feeling of disappointment and frustration.