You said “Hamas initiated a war with Israel with the massacre of noncombatants, firing thousands of rockets into Israels civilian populated areas, and took hundreds of hostages…”
So by your definition the “massacre of noncombatants, firing rockets into civilian populated areas, and taking hundreds of hostages” is the synonymous with a declaration of war.
Prior to the infamous 10/07 Hamas military raid there was already hundreds of massacred. Palestinians in the West Bank and Gaza. Drone strikes fired (rockets) into Jenin. Taken over 6000 Palestinian hostages. Etc. etc.
So my question to you is how does the events, as briefly described above, that happened before 10/07 calculate in your assessment of who initiated this war.