Why? Unused, dead-end void spaces were a regular feature of large pyramids. If you pile rocks into a huge pyramid, with only ancient Egyptian engineering tech, then the weight of the higher layers concentrates in random places lower down - cracking some of the lower layers. Any cracking or ceiling collapses in parts of the pyramid that the pharaoh cared about could be unhealthy for the lead engineers. Well-placed void spaces helped re-distribute the stress, minimizing that risk.