The former Labor frontbencher argued there is a risk Australians serving could be implicated in genocide charges over the war in Gaza.