I've been asking that question for years and never gotten a good answer.
Some dude actually came close yesterday by linking to somebody else trying to answer it (almost an original thought wow) by citing news articles claiming the DNC supplied Hillary with all of the debate questions ahead of time and planted audience members to ask Bernie weird questions, citing wikileaks emails, but then even their sources point out that the Bernie Sanders Campaign team dispute any such claims that DNC's Brazile was biased.
It's all just Hillary's emails, bruh, Bernie competed in the DNC primary and lost fair and square. Accepting that reality is the way forwards.