Because the Prosecutor wants a notch on his belt, not justice.
The question was rhetorical, but I whole heartily agree with your reply. It is, in my humble opinion, a major flaw in the legal system that prosecutors are permitted to try to prevent evidence that might exonerate a suspect from being presented, but they do. Their ‘carriers’ depend upon their ‘wins’, not whether someone is innocent or guilty.