Pennsylvania has increasingly become a swing state, having gone for Joe Biden in 2020 and Donald Trump in 2016.