U.S. Secretary of Defense James Mattis announced his resignation one day after President Trump made a surprise announcement about withdrawing U.S. troops from Syria.