The generation effect is a phenomenon where information is better remembered if it is generated from one’s own mind rather than simply read

In summary, the learning has to be active. After consuming a content that you want to remember - or a content you thought it was intereseted - it can be a good idea to try to write notes with your own words about it.