The coordinated move highlights the hardening of several countries’ stance toward Israel amid the dire humanitarian crisis in Gaza.