Most of those arrested have been Muslim and the grounds for their arrest and detention are unclear. Muslims have been arrested for having a Quran. Most of the arrests have been under the Prevention of Terrorism Act, which allows long-term detention without charge or trial.
https://www.hrw.org/news/2019/07/04/sri-lanka-muslims-face-threats-attacks