Toddler shy even with parents

My almost 2.5 year old has always been very shy and cautious with strangers by hiding her face not to look at people or turning the other way etc. She has started staying over for a few nights at her grandma's house to give us a break and when she comes home she acts like this towards me and my husband now too!! She got home yesterday and hid behind her grandma whining and wouldn't even look at us!! She wouldn't give me a hug or kiss or even say hello. I just let it go and let her slowly warm up and then eventually she started warming up and acting normal again. But wtf.. inside it broke my heart 😩 is this normal toddler behavior!? I miss her so much when she's away and I just want to give her hugs and kisses when she gets home and it really hurts to see her hiding from me. Anyone else with a kid like this?