If I’m super into topic X and you’re not, there’s a good chance whatever you get will either not be of interest (e.g. bad beans) or just redundant (I can only use so many mugs or grinders).
Obviously the thought is always appreciated, and gift buying can be hard, I get it. But receiving a gift also creates an obligation to at least perform enjoyment of the gift and now it’s another thing I have to own (consumables at least are temporary if you’re not into them, so that helps).
There’s a sweet spot in gift giving of looking for something the receiver is into and will want (but not already have) but also something the giver is knowledgeable enough to make an informed decision on. So, again, the thought is always appreciated, but if the giver can’t operate a k-cup maybe leave your coffee snob friends to buy their own beans :).