The word is from “pharmakon” which means “a drug, that is, a spell-giving potion.” It appears to me that all recreational drugs fall into this category. They produce an altered state of consciousness. These “potions” leave their users “spellbound.” That’s why drinking alcohol to drunkenness is also forbidden.
Being drunk as far as I can see is not forbidden, while being a drunkard is. There is a difference.