She doesn't talk to your dad because he is a man, and not to you
because she feels uncomfortable and probably finds it weird to say
hi to you in front of your parents. She says hi to your mom because
your mom is a woman and, to be nice, she says hi to your mom.