Some states tend to always be democratic and some states tend to only be republican.
Other states, called swing states change whether they vote republican or democratic.
Why would candidates want to campaign in swing states?