The United Nations warned that its aid operation in Gaza is “in tatters” because no place in the besieged enclave is safe.