I bet it must have cost someone something.
Not to the person who received it, that's why it's called a gift.