In education, fear of failing your in front of your peers or teachers is a strong motivator for most people. It is a positive thing in most such cases.
> "why uninterested parties in X took the subject"
As for this, it is known, that sometimes in life we have to beneficial things that we hate. Like washing the dishes. We are not "basing our educational system on it", but part of it will often be beneficial+uninteresting.
School system that assumes that everyone is perfectly motivated, organized and disciplined at all times will fail a lot.
Second, many people are motivated by social contact with other people who do the same thing. By both competition and mutual help. That is again quite normal for humans and these people will find watching videos more boring.