Trump has a history of wanting to pull the US out of NATO. When he knew he politically couldn't do that (during his first term) - he decided to embarrass our allies about their dues.
July 21, 2016 | Donald Trump Remarks on NATO Trigger Alarm Bells in Europe