Absurd that they're using Hamas as an excuse for this.
The EU and US have given literally billions of dollars to Hamas. All those tunnels, all those rockets, it was all funded in large part by the West. Sure, we claim it's for "humanitarian aid". But Hamas is the elected government of Gaza, with taxation authority. Every dollar you send Hamas to fund "civilian" needs is a dollar that Hamas doesn't need to spend on those needs, and can instead spend on terror. Every dollar that Gazans get in "aid" for free is a dollar that Hamas can tax and loot. Even now every truck of food send into Gaza is immediately taken over by Hamas security forces. It's well known that this aid is sold.
Gaza isn't even particularly poor. Per-capita they're more wealthy than neighboring Egypt, and they're close to El Salvador and Ukraine.
Don't believe me? Look here: https://twitter.com/imshin
They document Gaza social media, showing off how nicely many Gazans live. Or just look on Google maps: pre-invasion Gaza was dotted with fancy resorts all along the coastline. They could have been known as a sea-side resort destination if only they'd give up their hatred of Jews.
If anyone is to be thrown in jail for funding Hamas, it should be the US and EU bureaucrats and politicians handling this aid.