Threads not appearing in the 'unread' section

How does the algorithm work, exactly? I have noticed that some threads stop appearing in the ‘unread’ section after a while. I have to actively go into the category to find them.

Same for me