There is claimed that the Qur’an is confused on how many angels visited Mary. There are verses saying an angel while others say several.
In the verses below the Qur’an mentioned several angels visited Mary to the announcement of the birth of Jesus her child –
S3:42 Behold! The angels said: “O Mary! Allah hath chosen thee and purified thee chosen thee above the women of all nations.
S3:45 Behold! The angels said: “O Mary! Allah give thee glad tidings of a Word from Him: his name will be Christ Jesus, the son of Mary, held in honor in this world and the Hereafter and of the company of those nearest to Allah.”
On another occasion she was visited by an angel who appeared as a man to inform her of a miracle of a baby to be borne by her –
S19:17 She placed a screen (to screen herself) from them; then We sent her our angel, and he appeared before her as a man in all respects.
S19:19-22 He said: “Nay, I am only a messenger from thy Lord, to announce to thee the gift of a pure son. She said: “How shall I have a son, seeing that no man has touched me, and I am not unchaste?” He said: “So it will be: Thy Lord said, ‘that is easy for Me: and to appoint him as a Sign unto men and a Mercy from Us’: It is a matter (so) decreed.” So she conceived him, and she retired with him to a remote place.
It can be seen that the situation of the visits served different purposes several angels were presence to announced of a future event while the single angel from Allah make the visit to inform the pregnancy is happening of a miracle birth!
Thus this does not pose an issue or a contradiction in the Quran but the skeptics missed the purpose of each visit by several angels and a single angel.