The previously unreported intelligence, described by the former officials as among the most startling shared with top US policymakers during the war, pointed to doubts within the Israeli military about the legality of its tactics that contrasted sharply with Israel’s public stance defending its actions.