It had to have been a part of "the plan" which came from either God himself, or Q/Military Intel.  Either way, it's not natural to have the courage to keep your enemies this close and bet all your chips on a re-election, which will likely be razor thin.