Don't be naive. Leaders of Hamas have control of foreign bank accounts. Probably cryptocurrencies as well now. Those funds are the personal proceeds of theft and embezzlement. They steal aid money directly, or steal supplies and sell them for cash. The locals can't do anything to stop them because Hamas has all of the weapons: there are no other armed locals. Hamas violently suppresses the locals who even try to protest against theft of foreign aid.
https://nypost.com/2023/11/07/news/hamas-leaders-worth-11bn-...
https://www.amnesty.org.uk/press-releases/palestine-hamas-mu...