Mohamed Soliman yelled, “Free Palestine,” as he attacked with a flamethrower a group calling for the release of Israeli hostages by Hamas, officials say.