children bond with their mother during pregnancy. Once they are born they bond with their main carer. I looked after my God Son for two months whilst his mother was in hospital. When she came home, he wouldn't go near her, he only wanted me. The more contact you have with a child, the more they will bond with you.
Your mother in law should perhaps leave your child's care to you a bit more, he isn't her child, he's yours.