Trump’s dominance in the swing states reflected voters’ dissatisfaction with high inflation and the high cost of living that had followed the Covid 19 pandemic.