Parents dump the schools with teachers who are members of the union. Union has less money to pay the politicians of a certain party. Of course boards also get paid per student head, student who goes to a school that is not part of that farm (charter, private whatever..) is not bringing in the cash.
It is pretty straightforward economic self interest. I can recommend Sowell's book "Charter schools and their enemies" it lays out the setup quite well.