Presidents are given immense power in the American political system when it comes to personnel. FBI directors are given ten-year terms to insulate them from politics as much as one can, but it's not absolute protection. If a president wants to fire an FBI director, they can do that.
