It absolutely can be differentiated. One major one is that Youtube is optimizing for engagement and increased viewing time to keep people on the website longer to see more ads and increase their profits. That intent is entirely different from HN's "promotion algorithm".
The law can and does differentiate across lines like these even if they're both technically "promotion algorithms".