The president's remarkable public scolding of NATO came amid a backdrop of uncertainty in Brussels toward Trump over his past comments publicly cheering the United Kingdom's vote to leave the EU last summer and slamming the alliance during his transition as "a vehicle for Germany."