It's why radical leftists only pull this violent crap inside Dem Party owned states and cities where they KNOW that the cops are safely neutered and that the DAs and judges are on their side. Being confronted by federal agents with the actual backing of an executive branch determined to bring about law and order is something they haven't had to bring into their calculations for many decades.
For the first time in their pampered existence they are having to deal with meaningful consequences that won't just go away.