Why can't we learn what we don't like? The school system as we know it, is &amp; has been shaping students to fit the system which they live in and throughout this process, the students are forced to learn(mostly memorize) subjects which they do not have any interest in whatsoever and because of this they can't score high in school. It is as if our brains are trying to avoid information, which is out of interest, as much as possible. But when there's something in interest it is damn easy to collect and comprehend that information.

Let's assume that you are a programmer and you are greatly amazed by that, you love solving problems and develop software, you read lots of documentations and contribute on other peoples projects without even having to worry about "remembering" what you're reading, everything is easily understood and there's no issue with that. But when you have to learn about politics and how the system works, it appears as cancer to your eyes because you have no interest in it, there's no will to collect that information and therefore you score low in that subject.

now my question is: Why can't we learn what we don't like? (what we're not interested in?)
1
There is some relation between what we are interested in and what we are good at. If people are bad at something, they usually lose interest in it and turn to other things. If you are good at something, you enjoy doing it and are interested in it.
Interest, therefore, is a preditor of ability, and you are better at learning things that you can do, than you are at learning things that you cannot learn to do.
2
Learning requires time, attention, and effort. If you are interested in something, you will (want to) spend more time, attention, and effort on it. If you aren't interested in something, you'll find every minute of it unpleasant, so you will limit the time you spend with it, not be as attentive, and not labour as hard.
You will also not think about it while you are not learning, you won't connect it to other interests and activities, and so on. In short, you won't elaborate.
There is a psychological theory, the elaboration likelihood model, that says that the processing of information will be more superficial when the motivation to process the information is low.
3
Doing something interesting is pleasurable, and everything in your mind and body works better if you are in a good mood. Hormones such as oxytocin, whose levels are higher when you are &quot;happy&quot; (and free of negative stress), have a positive effect on memory formation and retention.