I have always thought that food taste is much more smell than actual taste. Taste is rather limited in complexity with only 5 tastes, compared to hundreds of different smells. Or so I heard.
You are right. Last year I've got a virus named covid (probably you have heard of it). For a few days I've lost the taste of food. I mostly stopped to eat in such days. Eating food that tasted of nothing was totally unpleasant!