Well, mean bees are “mean” because they are de…

Well, mean bees are “mean” because they are defending the hive. They are biologically programmed to act like that, just like foragers are programmed to go sip on flowers and nurses are programmed to feed the baby bees.
When a queen or colony is considered “mean” it just means that the ratio of “defenders” to the other bees is extremely high.