All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger.
A group of the interpreters of the Quran said that one of the two men who were mentioned here as an example; was a believer while the other was a disbeliever. Therefore, it is possible that the believer through his knowledge of religion knew that a human being is created from dust considering that Aadam was created from dust and then his descendants were created out of semen. It is known that the soil is the basic substance of the human being from which the Father of all human beings was created and sperm is the closely related substance from which all Aadam’s children are created.
Allaah Knows best.