I think being Muslim lowers the crazy threshold for murderous violence. A non-muslim has to go off-the-charts crazy (Jeffrey Dahmer) before heads get chopped. A Muslim, on the other hand, need only go a little around the bend to find a ready Allah-approved playbook for serious bloodletting.
It's demonic possession. She was doing what her possessor told her to do.