It doesn't distinguish them at all. Yes, they suffered an horrendous terrorist attack. That does not give them the right to commit genocide. And that is what they appear to have embarked upon.
The Israelis have suffered maybe 2,000 deaths, so that gives them the right to kill maybe 7x that number of children???
What would you say if it was your daughter, your son, who was killed by Israel. What would you do? Innocent children.
What would you say if it was your father, your mother, innocent of anything Hamas have done, that are killed by Israel? And if your partner was killed by Israel, yet innocent of anything Hamas had done? What would you do?
So a terrorist organisation in your country kills some people elsewhere, and you think it okay for that targetted country to retaliate and slaughter, murder, kill, thousands upon thousands of children, and many times that of other people of your country?
I get the outrage they're experiencing, but not the actions they're taking.
Everyone has the right to condemn them. Ever heard of the expression "two wrongs do not make a right"?
There's no issue with being outraged about what happened to them on 7 Oct 2023. I am. But murdering c.40k+ civilians (thus far), of which c.10k+ are children (thus far), is worthy of condemnation. Don't be mistaken: that is what they are doing. It is murder. Find the Hamas terrorists, deal with them. It doesn't require the slaughter of innocents to do that.
I would suggest that you also read up on the history of that region. Because the actions of Israel, in that context, are not motivated by the act on 7 Oct 2023 but by their history with Palestine. And that day was just an excuse to do what they have long sought. But regardless of motivation, it doesn't make their actions right, moral, ethical, acceptable... unless you are someone who thinks genocide is acceptable?