I was involved with a man once who overtly shunned me when his children were around.  He claimed that it was all in my head until he finally admitted that he acted that way because he was embarrassed by our living together and not being married.  Of course, this woman needs to take the high road and be mature about the situation, but there could be all manner of subtle things going on besides the obvious.