The United States and several allies denounced China’s maneuvers as dangerous on Dec. 4 after Filipino officials reported Chinese vessels fired water cannons and sideswiped Philippine patrolling ships in two hotly contested areas of the South China Sea.