Hey there!
Aunt Alexandra wants Scout to become a lady. She tries to teach her how to be more lady-like. So when Aunt Alexandra leaves, no one teaches Scout to be more girly because everyone has somewhat excepted it. So she acts what she was before she came to their house: tomboyish.
I hope this helps!