Well, perhaps she put her finger inside the trigger guard for the purpose of dealing with the cop, should he prove a threat, and, having just established that he was NOT a threat, she was just removing her finger when she got hit on the head and her hand spasmed. Remember, all this is happening much faster than it seems on the page.