Both McCabe and James Comey both rushed to put out their books after being fired.
The books are their way to frame the discussion and push the media narrative. They are all doing it now, quickly publish a book to cover their wrongdoing.
The thing with the books is it also is very helpful for building a case against them, as they record dates and times and when the truth comes out, they cant claim ignorance.
These people are stupid.