It really doesn’t - if someone is addicted to, say, heroin and publicly state it is bad, they wish it wasn’t widely available, that there was more done to stop it, that if you do it you’re going to become a “bad person” doing bad things to finance this.
Well someone might come along and ask isn’t that judgement hypocritical, aren’t you a junkie?
Well, no - it’s usually a heartfelt plea from a place of painfully hard-won experience trying to help someone else lest they too fall victim.
No different that the teenage “why can’t I smoke, both of you {mom,dad} smoke!” setup that is so common it’s a sit-com trope.