For any normal citizen, pointing a gun at someone unprovoked is considered assault at best.
If they've announced that they're law enforcement, it's a bad idea though. You may be in the right if you're just armed and not pointing it, but being in the right never protects you.
Cops just have qualified immunity and have shown they throw hissy fit little tantrums if a DA holds them responsible for being the worthless sacks of shit that they are.