In this situation my money is on advertisers who are being criticized on social media for sponsoring 'undesirable' content because the algorithm put their ad in front of a random video. By and large I don't think YouTube cares what is in a video unless it is illegal or something advertisers don't want to associate with.