This is sort of a "feature" of best-practices in user interfaces: don't silently hide things that should be there, just because the user doesn't have sufficient privileges yet.
It's the same principle that makes the "auto-hide infrequently-used menu entries" in older versions of Microsoft Office so confusing: it changes the location of things. If you are anything like me, you rely on things being in the same place they were last time you used them. It would be the moral equivalent of somebody coming into your office and constantly changing where you put your reading glasses.
In this specific instance, users who are shown the link are given guidance when they click on the link, and it responds "The user with whom you want to converse with does not have sufficient reputation to join you in chat." They would never get that guidance if the link was not shown, and would be wondering why they're not getting the link.
The second reason you might do this is that checking permissions can be expensive; you should only do it when there is a need to do it. It's much cheaper to just display the UI item and then deny permission if it is clicked.
All that said, it is not a hard-and-fast rule. For example, users are not shown a delete
link if they don't have permissions.