A large part of the appeal of an expensive USA graduate course is that it allows you a way to get a job in the USA after.
It works like this in tech. 1) Do a masters or > 1 year course in a relevant field. 2) after the course you have 1-3 years of occupational practical training in that field. This means you can apply and accept any relevant job without waiting for a h1b or anything like that.
Then from there you get your company to apply for a h1b and then convert to a greencard. Then from greencard you go to citizenship. This was my path.
Pressure on universities like this discourages foreign students from enrolling and hence stops or slows this processes.