YT themselves don't translate the titles. It's the creator who translates the titles. Usually, lazy ones do it with Google Translate. Excellent ones do it with paid translation teams, or themselves if they're already bilingual/a polyglot.
And boy, so many of the creators I like are doing a lousy job at title translation, subtitles (if any!), and dubbing (using AI dubbing with no corrections to the transcript)