Why are American citizens obligated to pay for schooling, health care, and welfare for non citizens of this country?

Why don't we send our tax money to China to pay for such services for the Chinese.

Isn't it against the law to use public money in such a manner?