There are plenty of valid reasons for detaining a suspect without bail [1]. Violent crimes, histories of violence, and repeat offenses all seem to trigger detention without bail at the federal level. It should also be noted that the subject of bail actually only appears once, in 18 sec. 3142(c)(B)(xii).
N.B. - This is federal law, I'm not going to try to dive into individual state law unless I'm being bribed with aged alcohol. Especially Louisianan law.