I've heard it used to mean "freaking out" if that makes more sense to you. In this case she is most likely yelling at/talking back to/being a little jerk to the grandmother. Although you probably know this, just in case others do not, "shit" is an English profanity, so don't use it in polite conversation.