Getting a name right matters more than most people allow
A name is the shortest possible signal that somebody has been attended to as themselves.
There is no faster way to tell someone they have registered with you than to say their name correctly. There is also no faster way to tell them the opposite. This is out of all proportion to the effort involved, which is why it is worth paying attention to. A name is not simply a label attached to a person for administrative convenience. It is usually the first thing anybody chose for them, often carries family in it, and is the word they have heard more than any other in their life. Handling it carelessly is a small thing that is felt as a large one.
The most common failure is not malice but hurry. A name arrives in the first three seconds of a meeting, alongside a face and a role and a reason for being there, and it does not lodge. Rather than admit this, most people simply avoid using the name for the rest of the encounter, constructing whole conversations without it. The other person usually notices. What they notice is the absence, and absence is easy to read as indifference, even when the truth is only that somebody was overloaded at the moment of introduction and too embarrassed to say so.
The repair is available at any point and it does not expire. Asking for somebody's name again, even late, even for the second time, reads as care rather than carelessness. It reads that way because it costs the asker something, and everybody understands that. The alternative, which is a lifetime of careful avoidance, costs far more and buys nothing. A name given back correctly is one of the cheapest gifts available in ordinary life, and one of the few that never seems to wear out.