The internet is full of people who are constantly trying to stump each other with tricks, optical illusions, and riddles. Whether we want to admit it or not, we love a good challenge and also want to figure something out, even if it takes a while.
Our brains are wired to want to solve things and come up with solutions, so that's why we're always gravitating toward these kinds of videos online.