It's also about children. Most parents won't allow young kids to drink coffee, for instance. Childhood ought to be a preparation for freedom and addictions have the potential to limit that freedom before it even gets started.
Adults may weigh the benefits for themselves. Sometimes the result is indeed positive.
I also appreciate that you brought up the issue of freedom. Dependencies do require freedom to be sacrificed, and perhaps that partially explains the aversion to them. When we need something, we give it power over us.
Yet a life without dependencies would be a life without friends and family, a life without valued people, places, and things. We give up total freedom for the benefit of forging deep and meaningful connections. And these connections are, in important ways, like any other dependency: when you lose someone you love, you go through a powerful kind of psychological withdrawal. But a life without love would be an impoverished existence.
I think it would be useful if we, as a society, stepped back and considered the nature of dependency, how our dependencies can hurt us and help us, and why certain kinds are valued over others.
But it's not like panicking over the sugar is coherent either; you see the same people praising fruit juice.