Chunk, there’s probably a million and one reasons for this defeat, not one single reason, but a combination of many. Yes, there’s been a reversal for the blue collar, working class, which was once a democratic party bastion, while the college educated were republicans. The reversals started in 2008 and it seems was completed this year. Trump actually won the union vote in Wisconsin while narrowly losing it in Michigan and Pennsylvania and on and on. The trend is for the old rust belt Midwest trending red republican while the south with a couple of exceptions is trending blue, democratic. There is a realignment taking place. Slowly but surely.
There has been movement from 2000-2024 for the states from red to blue or blue to red. Below is the movement based on PVI, Partisan Voting Index along with their number of electoral votes for the 2024 presidential election. I only included swing states, no solid red or blue states.
Arizona from an R+6 down to an R+2. Moving blue. 11 electoral votes
Florida from R+1 to a R+3 getting slightly redder. 30 electoral votes
Georgia from a R+10 down to an R+2 Moving blue 16 electoral votes
Michigan from a D+6 to a R+1 Moving Red 15 electoral votes
Minnesota from a D+10 down to a D+2 moving Red 10 electoral votes
Nevada from D+3 to R+1 Moving Red 6 electoral votes
North Carolina from an R+9 down to a R+3 moving blue 16 electoral votes
Ohio From an R+4 up to an R+6 Becoming more red 17 electoral votes
Pennsylvania from D+4 to R+1 moving red 19 electoral votes
Texas from an R+10 down to an R+5 moving blue 40 electoral votes
Wisconsin from a D+10 to a R+1 moving red 10 electoral votes
Things change, swing states become solid states while solid states move into the swing state category. I was around when the south was solid democratic while the northeast belonged to the old liberal Rockefeller republicans. California was a red state until 1992 when it turned solid blue, Texas was blue until 1976 when it became solid red, now is trending back to blue. Change is constant, but change continues.