YouTube makes money by showing ads on videos people watch. If they show people the videos they want to watch, they get to show more ads before someone stops watching YouTube for the day. This incentives YouTube to surface the videos that people will watch for the longest time with no regard for anything but their advertisers' willingness to have their ads played on said videos.
Also it's expensive to moderate a platform so big that one in three humans uses it.