October 7th was a reaction to Trump’s “Abraham Accords” which benefitted Sunni countries at the expense of Iran.
"You made a deal that disadvantages us so we're going to rape and murder a bunch of teenagers and kidnap people."
Sure, it's an explanation. Everything shitty Israel or Hamas has done since 1950 has an "explanation" of "that other group did something to me".