It's usually a warning signal. It sounds like she was recently disturbed or feeling territorial. Lizards will sometimes wiggle their tails during a fight or when feeling threatened to distract the would be attacker from their head. I have a territorial female B/W that does this often when first removed from her cage.