The Palestinian Authority is ran by Hamas. That’s how they are getting the funds, indirectly through the PA.
That's incorrect. The Palestinian Authority is run by Fatah, which is rivals with Hamas (and, in fact, is engaged in a civil war with Hamas). The PA controls the West Bank, Hamas controls Gaza.