There's a bit of a false equivalence here. Lack of vaccination has two major causes, lack of access to vaccines and hesitancy to get vaccinated. Some populations are less likely to get vaccinated because they lack the ability to take time off work, lack information about the vaccines, or some combination of factors. This tends to correlate along lines of race and income.
There is a separate issue, which is vaccine hesitancy. This strongly correlates with beliefs about authority, educational attainment, and yes, with political party affiliation. These things are also connected. States in the Southeastern US, for example, both have problems around vaccine access and a large amount of vaccine hesitancy.