Maybe, just maybe, the cat's litter box was full and he needed to take a dump. Or he was thirsty. Seeing as your guest was standing in front of the fridge, the cat probably wanted a beer too.
Smarts ain't got nothing to do with this one, Vesta. The cat is all about himself.

Perhaps you may be right.
Eupher could be the cat was picking up fear and confusion from me. You know how it is total confusion when friends begin to act odd, ----especially when a good friends Husband or Wife comes on to you.---What is a person to do.
Easy enough to back out in Public when this happens, you can just leave, but when home alone and there is a knock on the door and you are barged in on, be it your best friends wife waving a bottle of booze or your best friends husband come to call---things can get nasty.
Friends are difficult to find, they trust you, you trust them----now what.-----Does anyone want to get a call from a friend to tell them their spouse is drunk and will not leave the house??
What to do in this situation for a female that by size cannot escort a friends Husband/boyfriend out the door.
Don't tell me that to open the door in the first place is wrong, we do open the door to friends when we know them, could be lots of reasons they need to come in.
Once inside if you are alone, then it could be for many reason's have a death in the family, they need you to help them with a family medical problem, they need to tell you about a thief in the neighborhood or just to call 911 for their parents health problems. If you know the person knocking on the door most people will let them in.
My Cat knew something was wrong not from knowing the neighbor but from the ----shall I say it---VIBES I put out.
The dog was just happy to see an old friend but the cat who hid when company came was another thing.
Cats are strange and mysterious, , we cannot train them as a dog nor can we get a grip on their mind set as we can dogs.
I just happend to have gotten a kitten that grew into an adult doing not much but, when the time came for her to pick up stuff,--- fear and confusion she had never felt before from her family, she was front and center.