A thanks (especially from the person the thanked comment is responding to) can serve as a validation that the information provided was useful and appropriate, which an upvote alone fails to convey.
From my own recent history, this subthread: <>>37115294
>.