People try to complicate it (not necessarily in this thread) because they want to provide excuses for supporting the genocidal bad guys or not fully opposing them.
The truth is simple, rhe ones actively carrying out a genocide are the bad guys.
The ones resisting it, even if you disagree with their other beliefs/methods, are currently fighting for the good cause, to stop the genocide of their people.
As for
but from what I know Israel was attacked and is responding and trying to get their hostages back.
History didn't start on oct-7, though the media would love people to think so.
Gaza has been an open air prison living under an apartheid state for decades.
Ignoring that the entire strip is practically Israeli hostages, Israel has had far more Palestinian hostages held in Israeli prisons long before oct-7. A major reasoning for the Al-aqsa flood and taking of hostages was to trade those hostages for their own back.