The gunmen attacked to seize Israeli hostages because thousands of Palestinians were being held in security detention for years without trial or hearing. Amnesty International reported many Palestinians were tortured in those military prisons. With no way to get these captives freed, Hamas took hostages for a prisoner swap. Two trades took place in Nov 2023 before Bibi unleashed the full-scaled Nakba during the entire year of 2024.