Strictly speaking the diagonal argument is a proof by negation, rather than a proof by contradiction. The difference being relevant here because the hilbert quote mentions the importance of the law of the excluded middle, but LEM isn't required for proofs by negation. And since the diagonal argument is effectively a constructive proof of something that doesn't exist, it retains the elegance of typical constructivist proofs. A proof by contradiction, by contrast, will prove that something exists while telling you nothing about what it looks like.