Wrongs on both sides. Police didn't identify themselves, the guy didn't check peephole/windows or ask who it was, and instead opened the door with his gun pointing out.
But it's America so I'm not surprised. People get shot by police for far less than that.