The grant has restrictions on how the money can be used and the university takes a sizeable chunk of this (because they can). Then out of generosity and the pure kindness of their heart they might give you back a small chunk of that sum without the same restrictions.