Why did my crush do this ?

Okay so I was at work and I saw my crush coming towards me. I turned my head to look to her and then I waved to say hello. She waved back to me I turned my head to look somewhere else. Then I looked back at her and she waved again. why did she wave stop and then wave again ???