Let's not ignore what his brother said about his political views
When Lee got back from Russia, the way he talked about the Russian system, he didn’t talk about it politically, in the sense that he was wrapped up in communism or Marxism. He was making fun of how inept they were, and he was making fun of them all the time. …
He wasn’t political. He really wasn’t. I say that in all honesty, because he tried to become what he needed to be to achieve his immediate objectives; i.e., he needed to be a Marxist and accept the Russians [to] get the experience in Russia. When he returned to the United States, he didn’t want to be a Russian. He wanted to be an American, to be accepted by the American society, and so wherever he was … he wanted to be accepted. He wasn’t political. He was what’s convenient to be...
I think it says that he is very pragmatic, and he’s going to go with the punches. He’s going to fit in to where he needs to fit in to accomplish what he needs to accomplish … what is very essential to get by with, to be somebody. That’s what it comes down to — he wanted to be unique, by whatever it took…
https://www.pbs.org/wgbh/frontline/article/interview-robert-oswald/
There's plenty of evidence that Oswald disliked Gen. Edwin Walker.
In contrast, Investigators couldn't find any witnesses or documented evidence to support the assumption that he disliked JFK.
Volkmar Schmidt said he talked with Oswald at a party they attended (February '63) and Oswald "seethed" with anger about JFK over the Bay of Pigs. The problem for Schimdt was that he was interviewed by the FBI shortly after the assassination and told them Oswald never mentioned JFK or that he was angry with him. So it's not a very believable story. But IF they did discuss politics - and the missile crisis had just taken place three months before - and Cuba was mentioned I don't see how Oswald would express a "liking" for JFK on the matter.
Castro reportedly said that Oswald threatened to kill JFK when he, Oswald, was denied a transit visa at the Cuban consulate. Castro later denied this and the Cuban employees at the consulate said they heard no such thing. I tend to doubt Oswald made the threat but I'm stumped as to why Castro would make the story up (he told Jack Childs, according to Childs, this in a private conversation)
Oswald regularly read publications - the Daily Worker and the Militant - that denounced JFK over his Cuban policies. In one of them that he subscribed to it included excerpts from a speech from Castro denouncing JFK as a gangster.
Oswald adored Castro. I don't think he would have liked JFK's anti-Castro's statements or policies. It makes no sense that he would.
Finally, if Oswald was framed then why didn't these powerful conspirators tell Marina or Ruth Paine or anyone to say he hated JFK? Or plant material indicating it? It makes no sense. It's impossible to prove that Oswald wasn't framed by elements of the government. But the fact that such things as showing he hated JFK really calls into questions why such conspirators wouldn't manufacture that.