They might recognize them and say hello, but under their breath, they're asking their spouse, "What was their name again?" so they can ask a question by name to signify they know them.
Quizá se reconocen y se saluden, pero discretamente le preguntan a su pareja, «¿Cómo se llaman?» para preguntarles algo por su nombre y fingir que los conocen.