Most countries depend on US for security this is why they have military bases everywhere. Its because neighboring countries could just claim borders and often times this will end up in conflict and war between the two. US always intervene in such situation.
However when they intervene they also brought alone some conditions and their help isn't as free as people thought.
Not so different from any other country, most bases were put into place after ww2.
Way before the IMF, WorldBank and other institutions, created by the US pushed $ into development. After their liking.
As any other country would do. Russia is also busy placing bases around the World
https://en.wikipedia.org/wiki/List_of_American_military_installationshttps://en.wikipedia.org/wiki/List_of_Russian_military_bases_abroad