​Muhammad Shahzeb Khan said he was motivated to provide material support to the Islamic State group in retaliation for Israel’s killing in Gaza.