When holding flowers, bees can be lured into fire which they will seek no refuge from.
Repro
1. light a few blocks worth of ground on fire.
2. Equip a flower and make som bees interested.
3. Move to the opposite side of the fire.
4. Observe the bees flying through fire to get to your sweet, nectary flowers.
Linked issues
Attachments
Comments
Can confirm.
Bees will not evade magma blocks, lava, cactus and campfire.

In 1.15 Pre-1
I grabbed a nest of Bees using my silk touch. Brought them over to a couple empty hives I had and placed them. I started breeding them which seemed to work. Nut they have been slowly disappearing. They do not appear to anger mobs. So it cant be mobs.
I did notice that the fire I placed under them; they seemed to fly into(which is a logic problem in itself) and hurting themselves. So I took out the camp fires. Tried to keep breeding them... but they still disappeared.
A few things I fear it may be that you need to quick fix:
They are flying into fires or lava and dying... obviously bees should avoid those blocks.
They are flying so far away, they are never coming back. Which would be another Logic problem.
I also noticed they got hurt by berry bushes. Obviously they should be immune to those.
What else could they be getting damaged from? Are they flying into water and drowning? Try to thing of things you have not programed into their logic.
Thank you.

Still in 20w09a

In 20w10a

In 20w11a

In 20w12a

In 20w18a

In 20w19a

In 1.16 Pre 3
Can confirm in 20w51a.
Can confirm in 21w03a.
Can confirm in 21w05a.
Can confirm in 21w05b.
Can confirm in 21w06a.
Can confirm in 1.18.1. Just for clarification reasons, this affects other "dangerous" blocks as well such as campfires, lava, cacti, magma blocks, etc... Additionally, bees don't also have to be lured into these blocks for this issue to occur. They can naturally pathfind into these making this report similar to MC-190261.
Can confirm in 22w15a.
[media][media]Can confirm in 1.18.2 and 22w16b.
Can confirm in 1.19.
Can confirm in 1.19.2.
Ping @unknown