Why would a girl be looking at me as she walks past and then smiles at me?

She only spoke to me. I could her looking at me and she lit up and smiled at me. She did talk to me too. There was another person with me but she only acknowledged me

Why would a girl be looking at me as she walks past and then smiles at me?
Post Opinion