I was brought up to write thank you notes (I think my mom would write them and I would "sign" them when I was *really* little) and for me, it's also an automatic thing when I receive a gift.
It's just nice to know that someone took the time to write an appreciation of your gesture, even if they didn't like the gift!