If I saw someone with a flashlight trying to peer through a window of my house at that hour I would have a gun out as well.
I guarantee it.
What happened was an example of the Castle Doctrine in action.
The woman was in her home. Hearing a noise and not knowing it was the police (the good guys), she reached for her gun for self-protection as most people would have done.
It appears the police did not identify themselves which led to this tragedy.