My understanding this is because being a grad student is hardly an economically good deal for a typical American student, but for the sort of foreigner who can afford to send their child to school in the US, it can still be valuable.