[Not defending Israel] As a rule of thumb, I wouldn't trust the word of an interested party in accusing the other party.
Maybe they had 7 hostages and Israel killed 3, or maybe Israel released 4 and Hamas killed the rest, or maybe those 3 were killed earlier for whatever reason, or anything in between.