The blockade was put in place when Israel unilaterally withdrew from Gaza to maintain Israel's safety, and a more restrictive one implemented when Hamas was elected. Turns out it was a pretty good idea to have security at this border and to deny them resources with which they can attack Israel. October 7th was proof that it was insufficient, and it represents a start to this war and to the bombing. Gaza fared quite better before this unprovoked attack.