One type is impersonal. This is when you thank someone for their service. You are happy about what they do and want them to know it. “Thanks for being such a great teacher” is a nice phrase to hear.
The other type is personal. This is when you thank someone for their character. You are glad they are a part of your life and want them to feel special. “Thanks for being a friend” is a wonderful phrase to hear.
Just be clear. The two are not the same.
This Thanksgiving and Christmas season will be a great time to thank the people in your life for how they interact with you. Ask yourself, “Do I want them to know I appreciate their work or do I want them to feel special?”
Failing to understand the distinction will lead to confusion for one of you.