A man with a beer in his hand listens to a woman talk.
A woman has a beer.
He refers to a man not a woman.
If a person is holding a beer, the same person cannot be a man and a woman simultaneously.
The person with a beer cannot both be a man and a woman.