It's probably because when you used to smoke, it relaxed you and you associated that feeling with smoking. Now, the hormones released during breastfeeding relax you and you're still associating that feeling with smoking. You'll probably get over it as you get used to associating that relaxation with breastfeeding.
By the way,
not only for breastfeeding, but for quitting smoking!
By the way,

