It was a win win arrangement of sorts. Europe got to spend less on defense. US won a reliable ally that would not challenge them much, and help enforce worldwide US dominance. Basically a near vassal situation.
Note that it might have been possible for the US to convince the rest of NATO to spend more on their defense without losing the faith of their allies. This sure isn't the way to do it.