Only they didn't "fire her," they accepted the resignation she tendered when a new president took office, as has been the common practice for as long as I can remember. She was an Obama hire and was going to be replaced as soon as Trump got around to her anyway so this wasn't that brash of a move from a woman who has nothing to lose and all the notoriety to gain. Well played though, I'm sure her future prospects have been tripled at least.