Mattis was originally going to leave on February 28 but I suppose someone explained to President Shitbag that Mattis' letter trashed him on the way out.
Trump was already feeling blowback on forcing out such a universally popular figure, now that he's outright firing him I can only expect that to get worse.