According to religious texts, Maryam (Mary) became pregnant through a divine miracle.
The texts state that an angel appeared to Maryam and announced that she would conceive a son, despite being a virgin. The angel blew into her, and she conceived. She then secluded herself because of the pregnancy. After the birth, she returned to her community with the child, facing accusations of fornication.
In essence, Maryam's pregnancy is attributed to divine intervention rather than a conventional biological process.