Tim Cook knew death. To a military historian, immersed in the ways, means, and costs of war, it was an occupational hazard.