It's probably best your dog was removed from that situation. I've been on the wrong side of that stare from a GSD and a stare like that can quickly escalate into an attack.
As for why it happened... it depends on the dog and the situation. Has she ever done anything like this before? Any fear issues? Aggression? What was your cousin doing and how did he/she react?