A bit weird question here. I have noticed that upon my vote-cast to close a question due to a custom reason reported by another user, the same comment appearing in the comment section has been upvoted automatically without my awareness.
Here is a little-edited picture; I removed the usernames:
The red circle represents my vote has been cast. The red arrow points to the upvoted comment, which I am unable to cancel the upvote itself.
Why does it happen? I haven't seen this feature documented.
In this way, my close-vote helps the particular user get closer to the Pundit
badge - I feel cheated by the system! (A slight exaggeration.) This is not a right way to earn this badge.
I consider upvoting a good comment helping to find an answer or has an interesting point that should be also noted in an answer/question. But I'd not upvote a comment which just repeats what a close-vote says. Briefly said, I follow this scheme: Why upvote a comment?