The country and its citizens have been through hell the last couple years and times are tough and there is flood victims, so what do they do, why not give like a billion dollars to some other country who can look after themselves.
I think a significant portion of the "giving to other countries" actually ends up in the pockets of the elites, because you often hear of squander, waste, and that funding or weapons never actually arrived. It's a way of making money hard to account for, because no one really knows where it went or why.