One answer could be that we're just far removed from the environment that our desires were calbirated for, but it seems strange that it's just so consistent.
I don't remember reading about anything preventing cancer that people just naturally like to do/eat. Maybe it's also publication bias in the news and the "postman biting the dog" being more newsworthy than the "dog biting the postman" (Hungarian saying, not sure if it exists in English).
Also evolution can make some very crude selections - https://www.quora.com/Why-do-women-have-periods-What-is-the-...
And the things we don't like and are also bad, no one does them.
So neither category gets any notice. It's only in the other situations that you need to take extra notice.
It's not that healthy behaviors can't be pleasurable, but they are rarely pleasurable in the way that kills you.