Also, killing people who are affiliated with gangs gives you XP/loot, killing cops doesn't. That's a choice they made.
Bethesda and CDPR both have issues with cop-loving
CDPR wants to have a capitalist dystopia where the cops are brutal, corrupt animals, but then pushes you to do NCPD Scanner encounters to level grind