Later he told police his motive was recent Israeli actions in Gaza .
That was inspired by the Islamic State .
Later he told police his motive was recent Israeli actions in Gaza and that was inspired by the Islamic State .