My short term memory is terrible for things like that. I really can sometimes not remember people I have met before and it is so embarrassing. I also was not always like this, I used to have a decent memory as a kid and was good with faces. It's occurred to me that my brain is often split between paying attention and ruminating/other distractions so maybe partly an attention thing for me.