7 week old doesn't recognize dad anymore

It has been nearly a week since my son's dad got his beard trimmed, and ever since then, our son cries every time my SO holds him.

Has this happened to anyone? And how long would it take for your baby to be aok with dad again?