The idea that it was any kind of self defence is kind of pathetic, and mirrors Putinesque propaganda. It was occupation pure and simple.
America really wanted to set up military bases there. It was a black spot in the world which it lacked imperial force projection and it was right between 3 major rivals (Russia, China and Iran).