Its the oldie but goodie "Why are you arresting me?" Because you are resisting arrest." "When did you start arresting me?" "When you resisted arrest."
She was NOT arrested for resisting arrest. That is a different Penal code charge.
She WAS arrest for assaulting a public servant because SHE chose to fight the cop rather than calmly comply.