Why must an accused person post bail?
Because a judge has determined that there needs to be a monetary amount pledged to the court to guarantee that arrested person's appearance at future court appearances.
Some of the things a judge may consider include the arrested person's ties to the community, criminal history, severity of new crime and past failures to appear.