Dispensers dispense empty bottles into beehives and bee nests if the hive/nest is not full yet
The bug
With 19w42a, dispensers now dispense empty bottles when they're not facing water. This also happens if there's a bee hive or bee nest in front of them that doesn't have honey in it.
This might be an unintentional side effect of the change in 19w42a, or it might be an intentional change.