I'd argue that this is because of what seems like a mismatch between local / state laws and federal laws.
I'm not from the US, so don't know how all this works, but I assume that if weed is "generally legalized", then it should be at the federal level, too.