"Microsoft decided to work on algorithms in India because educational institutions in the country have considerable expertise in theoretical computer science, which makes it easier to find and attract talented staff, Anandan said."
...which is also willing to work for substantially less than their U.S. or U.K. counterparts, who are educated by institutions which have also considerable expertise in theoretical computer science.
Microsoft, for one, welcomes juicier profit margins, again, at the expense of U.S. scientists jobs.
Why are U.S. and U.K. universities having so much trouble recruiting computer science students this year?"
Link to Original Source