It’s not the value of the gift, it’s the thoughtfulness. “I know you like X, and I thought about you” is a very different sentiment than “Let me gift you with my expertise.”
The economists I’ve talked to say if you’re maximizing Utility then give cash.