Why do Nearest Neighbor Language Models Work?