It should be noted that this teacher has resigned. She was not fired.
Talking about politics is one thing. Making racist and anti-Semitic and anti Muslim statements are quite another, because it calls into question her ability to be fair to students of color, students who practice a certain religion, or students belonging to ethnic groups she claims to be inferior intellectually or otherwise.