Used as a visual clue that the character is young or immature. This view may have come from the Chinese custom of unmarried women wearing their hair in two buns on either side of the head (which if combined with the twin tails yields a well-known icon). Or from the modern European custom that a grown woman wore her hair up. This can also be associated with Nerd girls.