Moses
Genesis 20:18BSB·traditional attribution

for on account of Abraham’s wife Sarah, the LORD had completely closed all the wombs in Abimelech’s household.

Matthew Henry Presbyterian @wholebiblehenry

Here is, I. The kindness of a prince which Abimelech showed to Abraham. See how unjust Abraham's jealousies were. He fancied that if they knew that Sarah was his wife they would kill him; but, when they did know it, instead of killing him they were kind to him, frightened at least to be so by the divine rebukes they were under. 1.

Commenting on Genesis 20:14-18

John Gill Reformed Baptist @doctorgill

For the Lord had fast closed up all the wombs of the house of Abimelech,.... With large tumours probably, so that they could not cohabit with their husbands and conceive; nor could those that had conceived bring forth: and this disorder they were smitten with: because of Sarah Abraham's wife; who was taken into the house of Abimelech, in order to be his; to rebuke...

Geneva Bible Notes Reformed @genevanotes

For the LORD had fast closed up all the wombs of the house of Abimelech, because of Sarah Abraham's wife. (p) Had taken away from them the gift of conceiving.