So, in other words, it is indeed a "Panthers" thing. ie, revolutionary communist, "peace through Communism" thing.
Oswald was a dedicated communist who had defected to the Soviet Union in 1959 out of disgust with American capitalism. After becoming disillusioned with Soviet life, he returned to the U.S. in 1962. In early 1963, he bought a scoped rifle through the mail and soon used it to fire a shot (which missed) at retired general Edwin Walker, the head of the John Birch Society in Dallas. In the summer of 1963, Oswald was active in street demonstrations in support of Castro. In September 1963, he visited the Soviet and Cuban embassies in Mexico City seeking a travel visa that would allow him to travel to Cuba.
Oswald was among the radicals of the time who saw Third World revolutionaries like Castro as the wave of the communist future. He was well aware of Kennedy's efforts to overthrow Castro's regime. As a Senate investigative committee suggested in 1975, Oswald shot Kennedy to interrupt his administration's plans to assassinate Castro or to overthrow his regime in Cuba.
Ignoring Oswald's communist links, journalists and political leaders quickly claimed the president was a martyr to civil rights. Earl Warren said that Kennedy had "suffered martyrdom as a result of the hatred and bitterness that has been injected into the life of our nation by bigots." Martin Luther King said the assassination had to be viewed against the backdrop of violence against civil rights marchers in the South. James Reston wrote in the New York Times that "something in the nation itself, some strain of madness and violence, had destroyed the highest symbol of law and order."
The consensus opinion was that Kennedy was a victim of hate and bigotry, a casualty of his support for civil rights. The Cold War and Kennedy's ongoing feud with Castro were rarely mentioned as factors behind the assassination. The reasons? Mrs. Kennedy wanted her husband remembered as a modern-day Abraham Lincoln. Lyndon Johnson feared complicating relations with the Soviet Union. Liberals feared a replay of the McCarthy period, when the Wisconsin senator inflamed public opinion about fears of domestic communism.