How does the denial of bail in high-profile cases like the 2020 Delhi riots reflect on the balance between national security and individual rights?

Sharjeel Imam's bail plea was denied in the context of the Delhi riots. I want to analyze how courts weigh public order concerns against the rights of the accused in politically sensitive cases.