All political presidential appointees, serve at the pleasure, of the president of the USA.

Whether the FBI Director's firing, is perceived as a bad political decision, is a matter for the next political elections, or a congressional impeachment hearing.

Political retaliation, comes in all forms, and does not recognize any political parties.