Because we're supposed to have speedy trials. The state should have the right to hold suspects until trial, because otherwise you'd be letting potential criminals run free (and run away).
Well, if we want to keep the concept of "innocent until proven guilty" then potential criminals should be allowed to run free.