Question: why must a defendant be competent to stand trial?
Answer: Competency relates to the defendant's mental state after an offense, not before or during it. A person who isn't competent to stand trial can't be convicted of a crime. Courts require competency before defendants stand trial in order to preserve due process—that is, to make sure the proceedings are fair.