The Hamas militants also had same-sex relations with male Israeli victims of the October 7 attack, raping them in captivity.