By their unique vocal fingerprint
Every voice has a signature mix of pitch, rhythm, and resonance, and your brain locks onto it within a second or two, even with no visual cues at all. Voice actors exploit the same fingerprint, reshaping pitch and resonance so two characters sound like two different people.