The writer of this episode should have done their homework on bees until writing something as disturbing and inaccurate as mother bees consume their hatched female bees. Bee hives have female working bees, virgin queen bees and one mother queen. The queen depends on her female working bees to do all the labour, while she spends four + years just laying eggs. She only copulates once in her lifetime with as many male drones as possible over 2 days (who are ripped in half and die after successfully mating with her) and spends the remainder of her life laying eggs. When the mother queen starts aging, after 4 years, on average, the working bees (her babies) begin planning her murder/replacement. The working bees feed a special diet to a few female eggs to form "virgin queen bees." These bees can sting without dying and lay female eggs, something the female working bees are incapable of doing.
The virgin queens kill each other, by stinging each other to death, not their female working bee siblings -- a colony can only have one queen. If the queen dies and their are no virgin queens to replace her, it signals the end of the bee colony as female working bees can only lay male eggs. Males cannot sting, so their only purpose is for mating, which kills them.
The mother queen does not consume her hatched female babies. When the virgin queen (after killing her virgin queen siblings) is ready to replace her, if she does not leave the hive willingly, the working bees swarm her until she overheats and dies. Did a high school student write this episode? Every beekeeper knows this. Some clip the mother queen's legs after four years on purpose to signal to the working bees to start nursing virgin queens. The working bees select which female eggs to give the special diet to. I gather this is too complex for the person who wrote this episode.