The United States has denounced China for what it calls the “militarization” of the South China Sea.