How does our subconscious mind works?
One way of looking at it is through metaphor: imagine there are a host of items in button format for your selection on your computer. But they are all grey out, until you point your cursor and click it will it then turn to bold.
Yes, our subconscious (ever at its randomness), select the “items” for us. Especially so for addiction or cravings like smoking. It automatically selects this item and surface it to our conscious mind.
With hypnosis, you are deliberately influencing your subconscious mind so that it selects the positive “items” for you.