Archaeological discoveries

Why were tunnels that led to the pharaohs burial chamber selected after his death?

This is inaccurate. The tunnels leading to the pharaoh's burial chamber were not selected after his death. Typically, pyramids and their associated tunnels and chambers were constructed during the pharaoh's lifetime, as part of their elaborate preparations for the afterlife.