The steps he took that damaged those alliances were celebrated by Beijing and Moscow, which correctly saw U.S. alliances as a source of American strength rather than as a liability.