Minecraft update aims to fix those pesky bees and stop them from accidentally despawning.As noted by PCGamesN, the Mojang bug tracker was noting that bees would sometimes despawn when the world was reloaded.
With the priority listed as “important”, the bug description says the bees “are enclosed and so have not wandered off. The bees were a mix of bees spawned on tree growth and bees that were bred from those.
They did not disappear when logging off/on, so I think it was due to distance of >128 blocks from player. Bees are not in spawn chunks.”A mod for the bugs site said that “most disappearances of bees appear to be linked to the fact that the bees have bee hives / nests near them that they can jump into.”This issue has now been fixed.
Read more on nme.com