In particular, bees probably make hexagons because that minimizes the amount of wall you need per area, for a given cell size. If bees were really just making something like a voronoi diagram from somewhat spread out points, you wouldn’t get quite so regular a hexagonal tiling.
I imagine there’s some research about the precise method by which bees build their honeycombs, if anyone wants to go dive into the literature.
[1] http://www.localhoney.co.uk/wp-content/uploads/2010/06/start...
[2] http://1.bp.blogspot.com/-uM7ATVMEcDA/TdcWZm9BPEI/AAAAAAAAI8...
It says the bees build cylindrical cells around themselves initially, but then raise the temperature of the wax to 37-40 degrees C, when the wax is warm enough to flow into the hexagonal shapes.
(Pages 172-176)
The bees don't know anything about hexagons. They just make circles close together and then as the cells are filled, stepped on, and come into contact with other wax cells, they "ballon out" into a hexagon shape.
[1]https://en.m.wikipedia.org/wiki/Close-packing_of_equal_spher...