[The mother is more] important physically, yes. But not emotionally, emotionally both are very important.
Babies are quite smart and are fully capable of bonding with multiple people, and can even assign roles to them: This person for this need, etc.