A contribution is framed into a contribution agreement, very similar, but not identical, to a form of contract with conditions attached to it.
A grant tends to be closer to a donation, given with fewer strings attached.
In both cases, they are given for a certain purpose, but there is a little more control around a contribution than there is with a grant. It's really two different mechanisms. One is a little more stringent; the other is a little less.