The president's remarks came just a day after a tense private meeting with the alliance's Secretary General Mark Rutte at the White House.