Take a step back and imagine what success, and reflection of good rankings algos would be on these sites. Longer engagement times and multiple videos (+ads) for YouTube. Shorter time on site and less videos for Pornhub.
The interfaces would be designed accordingly with those end goals in mind.