In most agrarian cultures, including the ANE, barrenness was considered shameful. People thought it must be the woman's fault. (They weren't always wrong.) When Sarai's handmaid became pregnant, she believed herself to be morally superior and more divinely favored. This was a predictable and expected outcome.
Genesis 16:4