Most countries wouldn't be in that position in the first place. Mexico attacking the US would be basically unprovoked; Hamas attacking Israel is… not.
https://www.timesofisrael.com/liveblog_entry/bennett-said-to...
The Nova music festival was a peace festival.
So yes, the Oct 7th attack was unprovoked. Subjective historical context is not provocation.
https://www.reuters.com/world/middle-east/palestinian-killed...
And the Occupation was still increasing.
https://www.eeas.europa.eu/delegations/palestine-occupied-pa...