Mother in law question....

My mother in law seems to not have any dealings with me. I've tried to build that daughter-in-law relationship with her but it doesn't work. I reached out to her on multiple occasions & my husband told me to just stop trying. So I did just that! Well we went over to her house about a month ago & she would always go into another room & she maybe held about a 10 minute conversation total at different times with me while the 2 hours we were there. Then she leaves to go shopping & we didn't notice until we were looking to tell her that we were about to leave. FF>> she doesn't call me ever to see how I'm doing... Until I get pregnant, she calls & text me. All 3 pregnancies ended in a mc. She also calls my husband before he gets home (I'm guessing so that I wouldn't be around). But I feel if she only wants to deal with me & contact me when I'm pregnant I need to stay away from her all together... What are your thoughts?