In psychology, when someone smokes even if they know it can lead to health consequences, they may experience mental discomfort related to the disequilibrium between their thoughts, attitudes, values, and behaviors. This state of holding two opposing views at the same time is called:
cognitive distraction.
Ocognitive dysmorphia.
Ocognitive deduction.
Ocognitive dissonance.