It's almost perfectly urban vs. rural. Urban areas in "red" states are generally blue, and vice versa. "Blue states" are just those with mostly urban populations.
It became more extreme during the Trump era with many historically red suburbs around cities turning blue and some rural areas turning more red.