>>44735our body prioritizes short-term needs over long-term ones
in the wild, humans had reliable access to "healthy food", so there wasn't much of a need to evolve to make it taste really good. Foods like meat and sugar were tougher to come by, but still important for human nutrition. So we evolved to have those things taste better to make us more motivated to acquire them.
But in modern society, we can eat those things in excess, to the point where it's unhealthy. Anything is bad for you if you eat enough of it. And if you have permanent, cheap access to good tasting food, healthy tasting food will taste bad by comparison, because you know you could be eating the good tasting food at any time