In this design, the work axis was attached to the counterbored hole, so the axis is dependent on the hole. When the hole is suppressed, Mechanical Desktop software suppresses the work axis and hence the work plane, and then the peg, and then the flats, hole, and chamfer on the peg.