Friend's strange behavior

I started working as a contractor in a company 2 years ago. My boss is a very nice man and eventually turned out to be my best friend. He is married and has 2 teenage kids. My husband and I got pregnant in November last year and nothing changed. We continued to be best friends. Ever since I stopped working, he reduced talking to me. It ended up being nothing more than a good morning message relationship. I told him I miss him and he should come see me and my baby but he doesn't seem to be interested. I feel as if I'm keeping my self respect aside and unnecessarily chasing him. Other part of my mind says we have been best friends so I shouldn't give up. The only way I see this to be working is me going back to the same office. He says he'll hire me but with what's going on, i don't know if I can believe him. I honestly miss him and our good old times. What do I do?

Edit: I'm extremely loyal to my husband and at least from my side, I'm pretty clear I don't want to be more than friends with him. My only question was what could possibly be wrong for him not to talk to me or come see me when we live 4 miles away.