The state department urges Americans to “exercise caution” amid heightened tensions with Beijing.