I have two thoughts on this one:
One side is this: The small stack, unless a true nit, is likely to have a pretty big range for their all in call. At their level, they are pretty desperate to double up or at least steal some blinds and make it another turn of the table. So you are looking at almost any pocket pairs down to the 55 or 66 range even, or big suited connectors and stuff. In a vaccum (with no other action) it's a no brainer for you to call with your QQ. Putting the big stack in changes things quite a bit, because it's likely the number of cards or
hands that can bust your QQ just doubled. Even if you are ahead of the small stack (not a given), the big stack may be playing at least one over card to you, maybe more. Their range in this is even wider than the short stack, because their loss isn't going to hurt them as much. Under this circumstance, folding your QQ seems painful, but probably not the worst play. Worse yet, even if you are not all in against the short stack, the big stack can push you after the flop and put you all in, which would be painful.
The other side: You are in a good position, getting pretty good
odds for your call here. There are only a couple of hands that are absolutely ahead of you pre-flop, and you are getting good odds with two other players in. You have to remember that even if the big stack only called the other guy, you are still in a hand with the turn and river to bet as well. But the rewards here would certainly propel you on further, picking up at least 24BB is likely enough to carry you up the money and perhaps even further. I suspect a lot of people think that folding here would be you accepting to get a lower cash out in the end, because you missed one of the chances that the cards gave you.