Another school shooting in MI...

I'd like to know how anyone who has shown to be a flight risk can get bail at any amount. Bail was set at $500K. Anything other than no bail doesn't make sense to me.

https://www.cnn.com/us/live-news/oxford-school-shooting-michigan-12-04-21/index.html