Unlike posts, there's no pre-rendered version of comments stored in the database - they're converted into HTML every time the page is requested. This means that we can't retrieve the title of a linked question without parsing it out and issuing another query for every link (or, I suppose, one aggregate query for the entire set of comments if we're very careful) - no matter how you slice it, that's slower than not querying for titles.
So the title-tip is generated purely from the "slug" - that bit of text after the question ID in the URL itself. And the slug doesn't contain any information about which bits were capitalized, where there was punctuation, etc.
See also: Tooltip for question links in comments showing sanitized title
title
attribute by Stack Overflow. They could easily put the formatted title in there too.title
attribute was generated by the browser. The title attribute is generated (obviously by Stack Exchange) by replacing each-
fromwhy-is-python-showing-valueerror-could-not-convert-string-to-float
(as found in the URL) by a space. Getting the actual title likely would involve AJAX requests. Even if it wouldn’t, this change is probably not worth it. If this is going to be fixed, at least the actual link text should contain the question title as well.