Before the attacks Israel was in the process of normalizing relations with Gaza. For example, they were increasing work permits monthly. Here is an article from summer 2022
Gaza was not under occupation. It was blockaded because after the occupation ended they decided to ramp up attacks on Israel via. rockets and suicide bombings.
At question was whether Oct 7th was provoked. It was not. It was a full scale ground invasion with military attack plans. Sympathy with the invader doesn't change that. Think objectively.