Trump expressed that allies not standing with the U.S. will face significant consequences.