Somebody threatened to expose him. Most likely Gates because he is the one most definitely on the way out.
Most likely Daley ran cover for them. Notice how Jarrett wasn’t in the situation room.
If it failed Obama could have said, “This was done without my permission.”
It came up just in time to save him from Trump.