It was, in fact, another machine in the house. Not localhost. Sorry for the ambiguity.
The SSH client is an iMac running Ventura.
The SSH server is a Raspberry Pi running Raspbian buster.
The nearest router is also the DHCP server for both machines. For purposes of privacy, the iMac is configured to use external DNS servers, rather than the router.
According to the Discovery app, the iMac advertises itself in Bonjour under _ssh._tcp. The pi does not.
The /etc/hosts entries for the pi share the same host name for IPv4 and IPv6.
$ scutil -r {name}
Reachable
$ scutil -r {IPv4 address}
Reachable,Directly Reachable Address