For example the Bibas children and their mother were kidnapped by Palestinian civilians and sold to a Salafi terrorist organization within Gaza, they weren’t taken by Hamas. This is why the mother and children were strangled to death instead of being held as leverage and there were issues recovering their bodies for the hostage exchanges.
They were kidnapped by Palestinian civilians unaffiliated with Hamas and handed over to a different terrorist organization which had different priorities than Hamas.
So yes it is appropriate to use the term Palestinians here. It wasn't just Hamas and it wasn’t just “Gaza”, it was the Palestinian civilians too.