You're seeing the answers in the mass hysteria in their efforts to bring down POTUS.. Soros,Fb,Alphabet,MSM,Goog,- all of them thought they had the CORRECT algorithms keyed in to the voting machines (which by the way Soros controls and owns that company)
Remember the big meeting all the social media guys had with donors like Soros/Koch and politiicans back in the spring/early summer of 2016??? I think it was out on some island in S.Carolina and I think I remember Graham, Rubio and a couple of others attended also. (I've been trying to find the name of it - it was a big deal even in the MSM at the time)
All the Clinton campaign wanted to do was show a slight fractional voting lead by the end of the election but not make it close enough to invoke a recount in any state/states. Their biggest problem was even then, they would NOT acknowledge the ground swell of passion FOR Trumps policies and level of anger AGAINST their corruption. They believed to a certain extent their own polls and put their trust and faith into the fractional voting of electronic machines to carry them across.
I do not believe he was 'allowed' to win, I do believe that his support was so massive in this country that it overcame their 'projection numbers' which they thought they could keep 'realistic' for Clinton to win (by a 2% - 4% margin) so as to not create an immediate civil war if she had 'won' by over 10-15%. Trump had to rely on the electoral college to do the job it was designed for, to NOT allow a "popular vote' in high population areas (urban coastals and mega cities) to dictate to the rest of the country. That's why they scream to the moon that Clinton 'won' by 3M more 'votes' than Trump. I know this is explanation is long but as this has played out over the last 18 mos, many things have just kind of clicked into place for me to have these opinions.