The United States has told the International Court of Justice (ICJ) that it should not order the unconditional withdrawal of Israeli forces from the Palestinian territories without security guarantees.