YouTube makes money via ads, and users want to find good videos. Therefore, putting ads in the videos, or on the same page, makes sense. But, more than that, making it easy to search for videos and find similar videos will get users to watch more, which makes YouTube more money.