The first amendment only applies to US citizens and residents. The US is allowed to stifle the speech of anyone else.