> India never courted the West. Pakistan did
India and the US did court each other til the mid-1960s. IIT Kharagpur was built by UIUC and IIT Kanpur by UC Berkeley, along with JK Galbraith's strong lobbying for Indians rule industrialization in "Economic Development" and "The New Industrial State".
After JFK and Nehru died, the relationship tanked. Indira Gandhi leaned pro-Socialist economically with the 1969-73 nationalization drive that impacted American businesses, and LBJ and Nixon both detested Indira at a personal level (though to be fair the feeling was mutual). India supported the North Vietnamese during the war [0] and also began military tech transfers with the USSR and France during that time period [1] due to their mutual "Non Aligned" policy.
There was an actual chance that India would have become a global factory, but the nationalization drive in the 70s and 80s [2] lead to American enterprises in India shifting to newly open China
[0] - https://academic.oup.com/book/32264/chapter-abstract/2684597...
[1] - https://academic.oup.com/book/10629/chapter-abstract/1586347...
[2] - https://www.nytimes.com/1977/12/12/archives/reaction-is-mixe...