A 22-year-old Palestinian man was tortured and killed by Hamas militants after he criticized the group publicly and participated in rare anti-Hamas protests in Gaza, his family said.