is it legal?

yes

If the DA believes there is enough evidence to charge her, they can charge her. If your version is true, it seems like a silly charge. I suspect the officers version of the facts supports the charge in some way.

what was the kid wanted for that they would break down a door? That's some pretty serious entry.