A prosecutor asked the International Criminal Court for arrest warrants for Israel's prime minister and Hamas officials for war crimes.