20 years ago, I'm willing to bet the number of IT degrees overseas was a small fraction compared to today. Over the last 20 years the market has reacted to the conditions available and lead to the situation we have now.
You may be "willing to bet," but this is just you asserting that your premise is true. Do you have any data? My claim that free and low cost university-level education was available outside the US is easily verifiable with a 10 second Google search.