Why does it say "Ten Lahem Hashem Mah Titen"?
Rashi: The Navi is astounded that they will die as minors. Morning over a minor is unlike mourning over an adult. Therefore, if it is impossible [to eradicate the children] from birth, pregnancy or the time of conception, for it was already decreed from the creation "v'El Ishech Teshukasech 1 " (Bereishis 3:16), give to them quickly in their youth what You say to give to them later. You said "Ki Im Yigdelu Es Bneihem v'Shikaltim" (12).
Radak: When the Navi saw that the enemy will come against them, he prayed that they die in the womb or in childhood, and not via the enemy.
Malbim: The Navi prays that Hashem not exile them. Rather, give to them a punishment proper for Zenus, like You punish Midah k'Neged Midah - Rechem Mashkil and Shadayim Tzomekim, so they cannot beget and raise children of Zenus and increase Mamzerim. This is a proper punishment. Galus is not Midah k'Neged Midah.
How is this relevant? Perhaps Rashi refers to the Reisha of the verse - it was decreed that women suffer pain of raising children, pregnancy and birth. Therefore, Hashem must allow children to live past birth! (PF)
What is "Rechem Mashkil"?
Rashi: When they enter the air of the world, they will die.
Radak: They die in the womb. It is as if the womb makes them miscarry.
Why should He give Shadayim Tzomekim"?
Rashi: The babies will not find milk to nurse. Radak - they will die due to this. Tzomekim is dry.