Legal arguments, like most things in life, reward narrative over truth. “Truth” is an unbelievably high bar to pass – even basic ideas like confidence level are beyond the understanding of the legal system.
“Beyond a reasonable doubt” is actually a decent epistemic standard. The problem is that juries and judges are not exposed to the information that would lead to reasonable doubt in these cases.
So basic epistemology already makes bad outcomes likely. Add the incentives (political, organizational) in cases like these, and terrible things happen.