They know what they are doing: They putting their lives on the line to generate armed resistance to give Trump an excuse to implement martial law.
The only people who are willing to die for that are members of the Proud Boys, 3 percenters, etc.
Those aren't federal officers, they are militia.