Dogs have this instinctual behavior to protect people within their pack or family.
However, there is typically more to it than that.
The stronger dogs protect the weaker Dogs.
With that being said, your dog may get overprotective because he views the baby as the weaker dog that he has to protect from harm.