Biden appointee resigns over president's handling of war in