But he answered them... Then he refuses them and does two things: first, he denies the request; secondly, he predicts an indignity (v. 41).
In regard to the first he tells what they were seeking; secondly, he denies (v. 39b).
It is stated, therefore, that he answered them, "An evil and adulterous generation seeks for a sign." He says, evil, because they were laying traps. A person is called evil, because he harms his neighbor. Therefore an evil generation of wicked children. It is called an adulterous generation: "You draw near hither, sons of the sorceress, offspring of the adulterer and th...e harlot" (Is 57:3). Therefore that generation, so subject to sin, seeks a sign; but no sign shall be given it except the sign of the prophet Jonah: "Ask a sign of the Lord, your God; let it be as deep as Sheol or as high as heaven" (Is 7:10). Therefore they sought a sign from heaven, but they were unworthy to see it. For he gave this to his apostles, who saw him ascending and who saw God's glory on the mount. But the others will be given only a sign in hell as to the soul and on earth as to the body. Hence no sign will be given it except the sign of the prophet Jonah. Hence Christ's death is denoted and God's love shown, as the Apostle says: "When we were yet sinners according to the time Christ died for us..." (Rom 5:8). Furthermore, the power of the one raising is shown, as is indicated in 1 Cor (15:20 ff). And these are the signs of things that ought to be present in us. By Christ's death is signified that we should die to sin; by the resurrection, that we should rise from sin.
Source: Commentary on Matthew