About 10 years ago, one of my friends participated in an research project about beer brewing techniques, as a member of a taste panel. He is a beer afficionado but the project turned out to be a very humiliating experience. In the proper scientific context, he couldn't consistently differentiate between beers that, in normal circumstances, beer lovers would describe as quite different. Moreover, he discovered that his judgement wasn't very consistent. Two taste descriptions of the same beer, one week apart, often were only roughly similar. No member of the panel was markedly better than another one, at least not consistently.
We still drink lots of beer together, but we limit our judgements nowadays to 'nice', 'bitter', 'sweet', 'hoppy' etc. If we feel particularly sharp, we might add 'fruity'.
I suspect humans aren't that good at tasting things. So, given that: of course background affects flavor sensations. Where would all these different sensations come from, if not from background, mood, circumstances, etc.?
Perhaps thing are different with coffee, of course

.