That's because it's not logic - it's propaganda. The war on drugs was always built on a solid bedrock of oppressing minorities, black people in particular.
What? White people like smoking weed? Well its probably ok then. What? White people enjoy opioids? Oh no, it's a crisis we better get people the help they need. Don't worry big pharma drug dealers, you can keep your fortune, just say sorry.