the air space was closed due to palestinian terrorists rockets. Same thing with limitation of fishing because the palestinian terrorists became creative using sea current to send exploding barrels to Israeli beaches.
However, as Egypt was not in a state of hostility Gaza could theoretically in and out of goods and bads (terrorists) via Rafah