Indian universities are terrible but are getting slightly better, US universities have been getting worse over time but are still better.
But the process is about just getting enough numbers - why improve an education system when you can just harvest the small percentage of people who learn despite the poor quality - you only need so many skilled people, after all. The people running this don't care about your average American or Indian but they know there are a lot of Indians.
Training people the usual way costs money and requires an education system where the educators aren't disposable themselves. That's not in the spirit of creating a few highly skilled, energetic, disposable folks who will work 14 hours/day for 10-20 years, squandering their only relatively high salaries until they are replaced by the next batch, with the entire workforce indentured by debt (or visa conditions) despite the poor quality of the education involved.
That's a very broad statement. They are so terrible they manage to produce engineers and scientists who then come here and other parts of the world for higher degrees.
After doing a little hiring of Indians and working with them I get the impression that the top tier universities are pretty good, but the second tier and below are a lot worse in comparison to similarly ranked institutions in the US.