In Pennsylvania, economic anxiety, along with shifting sociocultural sentiments, fueled voter turnout in Trump’s favor.