The shifts in the races are notable because both Florida and Michigan backed Trump statewide in 2024.