Does anyone understand why the polls were off?

Forgive me if I seem a bit confused because I'm new to polling and aggregators but does the margin of error mean that any number outside of it is impossible or is it just an arbitrary number. Also, what happened to the polling in 2020, I thought the education gap from 2016 was fixed?