The resignation underscores deep divisions within the State Department and growing public dissatisfaction with the Biden administration's stance on the conflict.