Those tunnels were built not so Hamas could get commercial items into Gaza since legal checked routes were available.
No, those tunnels were built so weapons capabilities could be smuggled in to Gaza to be put together by Hamas. Material sent from Iran, no less.
Egypt eventually destroyed the extensive tunnel network across the Sinai Peninsula which then meant Hamas had to learn to manufacture their own weapons inside Gaza as they boasted.
"Security in the area around Rafah is also of concern to Egypt because Sinai has been the site of an Islamist insurgency that flared a decade ago. Hamas, which has run the Gaza Strip since 2007, shares the Islamist ideology of the Muslim Brotherhood, a movement outlawed in Egypt."
And:
"Hamas' deadly attack on southern Israel six days ago - unprecedented for the group in its planning and scale - was a devastating demonstration of the military expertise it has gained since seizing control of Gaza in 2007....
Necessity is the mother of invention," said Ali Baraka, a senior Hamas official, adding that the group had long drawn on money and training from Iran and Iranian regional proxies like Lebanon's Hezbollah, while bolstering its own forces in Gaza.
Difficulties in importing weapons meant that over the past nine years "we developed our capabilities and are able to manufacture locally", said Baraka, who is based in Lebanon....
In the 2008 Gaza war, Hamas rockets had a maximum range of 40 km (25 miles), but that had risen to 230 km by the 2021 conflict, he added.
After the most recent Gaza war in 2021, Hamas and an affiliated group called Palestinian Islamic Jihad managed to retain 40% of their missile inventories, a key target of the Israelis, according to the U.S. based non-profit Jewish Institute for National Security of America, keeping roughly 11,750 missiles compared with 23,000 before the conflict."
www.reuters.com/world/middle-east/bombardments-hit-area-gaza-sinai-border-crossing-gaza-officials-2023-10-10/
Let's not disingenuously suggest any other purpose for Hamas' extensive tunnel network, hey?
https://www.reuters.com/article/us-palestinians-tunnels-egypt-idUKBRE91P0UV20130226
https://www.fdd.org/analysis/2023/10/28/hamas-tunnels-to-egypt-played-key-role-in-arming-hamas/
Egypt eventually destroyed a whopping 97% of Hamas tunnels across the Sinai Peninsula. 🤔