Only countries can invade? Gaza was a de facto self-governing territory from 2005-2023. It had a government, Hamas, which didn't invest in welfare because the UN did that while Hamas built the world's longest military fortress under Gaza, then used that to invade Israel.