The agency is the main supplier of food, water and shelter in Gaza, but it is also on the brink of financial collapse.