A lot of the complaints about Hillary Clinton's campaign were about how lackluster it was. Yet Clinton is a sharp and effective politician, and knows perfectly well how to run a campaign. She had and has extensive and loyal support. So perhaps her own staff just didn't think she was up to the job and didn't let her do her best. Perhaps she was referred to the wrong staff by people who wanted her to fail. Perhaps…I don't know. More certain knowledge will probably have to await historical study.
But whatever the case, I think it likely sexism within the Democratic Party played a part in her loss.
(We now pause to observe a bird banging its head against a cage.)