You get hexagons because of close-packing.[1] Circles (or a 2D array of spheres) of the same size fit closest together when they are arranged in a hexagonal pattern. Push a bunch of marbles together and that's what you get.
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.
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...