Then when he says, What is born of flesh is itself flesh, he proves by reason that it is necessary to be born of water and the Holy Spirit. And the reasoning is this: No one can reach the kingdom unless he is made spiritual; but no one is made spiritual except by the Holy Spirit; therefore, no one can enter the kingdom of God unless he is born again of the Holy Spirit.
So he says, what is born of flesh (ex carne) is itself flesh, i.e., birth according to the flesh makes one be born into the life of the flesh: "The first man was from the earth, earthly" (1 Cor 15:47); and what is born of Spiri...t (ex Spiritu), i.e., from the power of the Holy Spirit, is itself spirit, i.e., spiritual.
Note, however, that this preposition ex (from, of, by) sometimes designates a material cause, as when I say: "A knife is made of (ex) iron"; sometimes it designates an efficient cause, as when I say: "The house was built by (ex) a carpenter." Accordingly, the phrase, what is born of (ex) flesh is itself flesh, can be understood according to either efficient or material causality. As efficient cause, indeed, because a power existing in flesh is productive of generation; and as material cause, because some carnal element in animals makes up the animal generated. But nothing is said to be made out of spirit (ex spiritu) in a material sense, since spirit is unchangeable, whereas matter is the subject of change; but it is said in the sense of efficient causality.
According to this, we can discern a threefold generation. One is materially and effectively from (ex) the flesh, and is common to all who exist according to the flesh. Another is according to the Spirit effectively, and according to it we are reborn as sons of God through the grace of the Holy Spirit, and are made spiritual. The third is midway, that is, only materially from the flesh but effectively from the Holy Spirit. And this is true in the singular case of Christ: because he was born deriving his flesh materially from the flesh of his mother, but effectively from the Holy Spirit: "What she has conceived is of the Holy Spirit" (Mt 1:20). Therefore, he was born holy: "The Holy Spirit will come upon you, and the power of the Most High will overshadow you. And so the Holy One who will be born from you, will be called the Son of God" (Lk 1:35).
Source: Commentary on John