She's likely doing it out of excitement, or play, but it may be hormone driven. Whatever the reason she's doing it I'd redirect her onto something else every time she does it. Try calling her to you and having her stay with you for a minute or two then let her go back to playing,