I hated this movie, for many reasons...
Hate is a little strong, it had a great cast, strong performances, especially by Cooper. But the story is absurd. This man is supposed to be some kind of town hero, they give him a big sendoff after his wedding. Then they turn their back on him the very same day? Did he not know these people? Was he that clueless about them? Its just not realistic that a whole town would act that way. Its simply not human nature to do so, the film makers had it backwards.
As to the production itself, it was made on the cheap, and looks it. The gunfight at the end was terrible by western standards. And these outlaws come to town with a plan to kill the Marshall? Some plan, easily allowing one man to pick off each of them, one at a time.
And to the whole blacklisting thing, most of those blacklisted were at the least sympathetic to communism, a great threat at the time. The HUAC (House Committee on Un-American Activities) and Joe McCarthy? McCarthy had nothing to do with it, he was in the Senate. As to McCarthy's claims that there were communists in the state department? He was right. Look up the name Alger Hiss and the Venona cables, enough said.