Sometimes, bees become hostile when shearing Bee Nests with campfires below them. I haven’t gotten this to happen with Bee Hives yet, but chances are, they might also be a problem.
I have the Nest/Hives in a line side by side, about 12 of them (I don’t think amount really matters) with a one and two block gap between the campfire and the Nest/Hive. I’m not sure if it affects it at all, but I’m on a realm.
This issue is being tracked at MCPE-60937.