Cop was startled, opened fire.

Dude with a golf club hearing people breaking into his house is completely justified.

Shooting him from 20 feet away is not.