Okay, literally, how about "the extent to which sexual violence occurred on 7 Oct 2023 [or before that, or after, in how Israel treats Palestinians"] is, literally, ...
A) yes, something that needs to be investigated
B) and prosecuted - yes, that would include Israeli as well as Palestinian perpetrators!
C) completely immaterial to the question whether or not the current horror in Gaza is justified [for the record: it really fucking isn't!]
Even if 1000 Israeli women had been systematically raped on 7 Oct [they haven't been - nobody, not even the state of Israel, claims that!] - that still would not justify the killing, maiming, starving and thirsting out, kidnapping and arresting of tens of thousands of Palestinian women and girls!
Personally, I am willing to believe every single victim, and precisely zero government spokespeople, on sight! Sexual violence is "normal" in war! I have personally experienced being sexually taunted and threatened by Israeli soldiers [and: I am white British; they just wanted to humiliate my Palestinian husband and had no personal "beef" with me]. Yes, those soldiers needed to be disciplined, prosecuted and jailed [they weren't, of course], but, no, their behaviour was not "unusual". It was just "how men with guns treat women in war zones" - why would I assume Palestinians are any better behaved? I don't!
Still: no justification for mass murder!