300$ withdrawal fee are probably split between some "money changer" in Gaza and someone who can bring money into the strip, probably IDF personnel.
300$ for a bag of flour are probably split between the merchant in Gaza and someone looting the aid waiting at the crossings.