Same reason that FBI agents' identities are classified - so that people who disagree with what a democratically established agency is doing to uphold the law don't go out intimidating or killing them.
What's the difference? BCI is the state equivalent of the FBI. Do you think people are going to go out and kill them just because their identities are public? That's absurd.
Because of course it is sometimes, despite state level agencies typically dealing with somewhat lesser crimes and not-so-controversial topics, and don't attract neither as much organized crime attention nor a movement to dox and harass its members.
https://govsalaries.com/salaries/ND/north-dakota-attorney-ge...