Then follows the effect, and it is a twofold effect: sorrow and doubt. As to the sorrow, he says, and they were very much troubled. And why? They were troubled at the death of Christ, because it was bitter for them to be deprived of such a leader, such a patron. Likewise, they were saddened at such a crime that was about to happen; Jeremiah 9:1: who will give water to my eyes, a fountain of tears? Then the doubt is set forth: they began every one to say. But why did they doubt? Was not each one certain about himself? The response: the disciples had been taught that men are quickly prone to sin...; hence the Apostle, 1 Corinthians 10:12: he that thinketh himself to stand, let him take heed lest he fall. Likewise, they doubted because they believed him more than their own conscience. Similar is what is said in 1 Corinthians 4:4: I am not conscious to myself of anything; yet am I not hereby justified.
Source: Commentary on Matthew