The three male victims were among 252 people taken hostage when Hamas attacked Israel on 7 October.