EDIT: Just want to add that the reality is more nuanced. Naturally Israel affects control over its border with Gaza and Egypt affected control over its border. Israel has definitely refused to let Gaza operate an airport or a sea port and so it maintained some amount of control together with Egypt. That said a lot of how this evolved was around choices made by Palestinians and the rise of Hamas led to the official blockade being imposed. I do think this was an opportunity for Palestinians to demonstrate how they can govern territory controlled by them and be peaceful neighbors which ofcourse did not happen.
Nobody in the former Ottoman Empire did.
> No sovereign country would tolerate a complete blockade of its borders
Plenty of enclave countries exist. The blockade clamped shut when Hamas took power [1]. A coup, mind you, which overthrew Gaza’s fledgling (and flawed) democracy.
[1] https://en.m.wikipedia.org/wiki/Blockade_of_the_Gaza_Strip