Were they under Palestinian control before 1967?
Area A in the west bank has generally been under full Palestinian control and not under blockade or meddling: https://en.wikipedia.org/wiki/Area_A
Gaza wasn't under occupation or blockade when Israel withdrew in 2005. Only after Hamas won the elections and after Gilad Shalit was abducted from Israel in 2006 into Gaza did Israel start imposing more restrictions. I know this is a recurring claim from anti-Israeli but the fact remains that Israel completely withdrew from Gaza in 2005 and so there was no occupation in any meaningful sense of that word. Gaza also has a border with Egypt.
Here from an age were the BBC still had some decency: "Disengagement did remove one obstacle to peace - the settlers' presence on occupied Palestinian land in Gaza.
But the optimism of 2005, such as it was, has evaporated and Gaza today is completely outside the peace process.
That is a result of the rise to power of Hamas and the boycott of it by Israel and the international community.
But even in 2005, critics of disengagement said it was being used by the Israeli government as a substitute for a peace agreement with the Palestinians."
https://www.bbc.com/news/world-middle-east-11002744
"After the settlements have been evacuated and knocked down, Israel will turn Gaza over to Palestinian control for the first time."
https://www.theguardian.com/world/2005/aug/22/israel1
The withdrawal was without agreement and unilateral but it was a full withdrawal.
https://www.un.org/unispal/document/auto-insert-192849/ is from the UN which has bias but here are some nuggets:
"Infighting between Palestinian families and between factions
increased in the weeks leading up to the disengagement and after
the IDF withdrawal on 12 September. More than 97 violent incidents
involving families, militant factions and PA police forces have
occurred between 12 September and 31 December. These incidents
include gunfights, kidnappings, beatings, house burnings, threats
and theft. Forty-seven Palestinians have been killed in the clashes
and at least 298 were injured"
"Discussions were suspended following a Palestinian
suicide bombing in Netanya (Israel) on 5 December"
"However, since 16 December, Erez Crossing has remained closed in
response to Palestinian militants’ firing of rockets from the northern
Gaza Strip into Israel."
"Following the IDF withdrawal on 12 September, Palestinian militants
have fired at least 283 homemade rockets towards Israel from the
Gaza Strip."