Giving money away can have tax consequences.