Investigations are underway after a man used a makeshift flamethrower on a crowd gathered to support hostages in Gaza.