There's no way the Detective could have known there was a Friend before Friend.
“If it were a third-rate TV anime, a dead protagonist can come back to life at the producers’ convenience. But the world we live in is not such a convenient place. Lost lives will never return. Because of it, we live in a world where a life is an irreplaceable existence.”