It actually started targeting it domestically on state level in 1920s, because of association with low-wage Mexican immigrants. Late 30s is when it went into high gear, with high-profile federal investigations and reports (including Anslinger's famous "marijuana smoking by white
women makes them want to seek sexual relations
with Negroes"), and bans on state level pretty much country wide.