A ruling by the top United Nations court ordering Israel to halt its military offensive in the southern Gaza city of Rafah has deepened its disconnect with the United States over an operation that faces mounting international condemnation but that American officials describe, at least for now, as limited and targeted.