This exactly is what drew in my late father, who was a scientist (not climate, obviously!) with raw intelligence several standard deviations above average. "They" were using climate change as a stalking horse for communism / woke-ism / whatever other "big government" thing he thought was counter to the interests of people like him.
He wasn't always like that. Maybe he wouldn't have described himself as such at the time, but in his twenties and early thirties he was a Liberal. He was a Peace Corps volunteer, attended Civil Rights marches, advocated on behalf of gay people, argued for gender equality, strongly opposed the Vietnam War, and was appalled by Watergate.
Fast-forward to the last decade of his life, in which my father donated to all three Trump presidential campaigns, displayed a Gadsden flag on his mantle, rejected his trans-gender grandchild, and made (at the very least) replacement-theory adjacent noises. Oh, and preferred Ivermectin over covid vaccination, of course.
What I think happened was that he was culturally out of step with most people who otherwise shared his politics in the 1970s - he was religious, so viscerally disgusted by drug use and "extra-marital" sex - and got captured by the propaganda machine that others in this thread have described. I believe the biggest turning point was 9/11: it terrified him, even if he couldn't quite admit that to himself, and he lived the rest of his life in a state of inchoate fear - stoked, naturally, by Fox News and other right-wing media.
So, that was the (white) American Baby Boomer Experience, writ small. He did materially well, but I think was a better and wiser person in his twenties than he became later on.
Rejecting climate change ("anthropogenic climate change", my father would point out, which let him off any evidentiary hook) is only a small part of an entire ideological project, which demands to be swallowed whole.