My understanding is that the 2% budget commitment was met or exceeded by all NATO countries only as late as 2025. The Obama administration ended in 2017.
Europeans not taking care of themselves has been "undermining the relationship".