Yes, this is legal. There is no law which prevents any person, including an employer, from calling someone you know, including your parents (but also including a roommate, a child, a spouse, etc.) to inquire into your well-being and whereabouts, the reason you are not at work, etc. It is understandably awkward, but the law still does not making something illegal just because it causes unpleasant consequences for you.