The motivations of men who commit mass shootings are often muddled, complex or unknown. But one common thread that connects many of them — other than access to powerful firearms — is a history of hating women, assaulting wives, girlfriends and female family members, or sharing misogynistic views online, researchers say.