It was Trump who forced them to do it.
Tosh. Complete, total and utter rubbish.
NATO spending started going up in
2014, after the
Obama Administration used a carrot and stick approach during 2012-13 to get European allies to increase defense investment and the
Putin invaded Crimea. Specifically, NATO's 2014 Wales summit saw members formally commit to the 2% spending target (to get there within a decade). Previously it had only been a guideline.
The Obama administration got NATO to commit to that by good old fashioned diplomacy. Mostly by making changes to the Arms Export Control Act - which made it easier for some US allies to get US weapons and also made it easier for European arms producers to export weapons that contained some US content (particularly software).
The Trump Administration very nearly undid the good work of the preceding administration. None of the NATO declarations during Trump's tenure contain a word about spending (the closest they got was an agreement to submit national action plans).
The administration's general attitude to NATO, decision to reorient US defense exports away from traditional allies and towards budding dictatorships and Donald Trump's "inelegant toddler stomping" and interpersonal squabbles at the 2017 & 2018 meetings (as one senior European aerospace executive put it) gave everyone serious pause and put momentum into the Europeans looking at NATO alternatives.
Merkel in 2017 was reported to have said that "we Europeans will have to take our fate into our own hands". It got so bad that by 2019, the Europeans were starting to activate multi-national divisions as part of interoperability improvements.
For all Trump's bleating about NATO spending, everything that happened on his watch was because of things totally out of his control or decided before he was elected.