Popular explanation is that it's a shit test. If you can't get past the Barb, then you don't have what it takes.  The pussy peeping tom kid with the camera would never have gotten past Barb without the demigorgon's help. He would have ended up dating her to get nearer to Nancy, while the pushy jock carried on fucking her. Demigorgon Wingman