This is a great post and insightful. It illustrates individual versus collective responsibility for "your group" and whether or not "your group" is even a thing. Are Muslims collectively responsible for the actions of a few? Do 'they' have a responsibility to police and inhibit bad actors. Clearly it's easy for outside groups to lump Muslims into a monolithic block based on a few characteristics, we all do it to virtually everyone else at some level.
But it also highlights the need to have opposing voices from within. If "all muslims" don't want to endure negative attention from the actions of a few, then there needs to be a public denouncement. I don't see many, or any really, demonstrations by Muslim groups to denounce Hamas, calls for them to surrender and release hostages, sympathize woth the suffering of Israelis, and support Palestinians as a separate entity from Hamas.
But, as a loose comparison, if a Christian radical bombs an abortion center, you see A LOT of Christian opposition to that tactic, even from groups otherwise protesting those clinics or fighting legislation making it legal. Even if they approve of the act in private, the PUBLIC stance is almost always condemnation. Very few leaders go on record supporting a bombing.
This is, to me, a stark contrast to the current conflict and is something I think the Muslim community, as much as it can be considered a community, at least within the US and other western countries where these communities are distinct minorities, should consider when there are protests, attacks against israeli/Jewish groups in the US, etc. If Muslims treat all Jewish activities under the same umbrella as Israeli government actions against Gaza, then they really can't complain when non-muslims treat all Muslims as if they were adjacent to bad actors.