Are you asking in general? That’s one of the first things a student learns in middle school English is that the title is all capitalized except for words like “the, to, and, or”, unless those words are at the beginning of the title.
This site looks like it has the rules more formalized, if you’re interested. I think it’s something most native English writers do without thinking by adulthood.
I've often noticed this pattern but only ask myself now, so, yes, in general. From what I remember I never learnt that in school, but I'm obviously not a native English writer. @Raphmedia already gave me a good link, but thank you for the one you gave me too.
This site looks like it has the rules more formalized, if you’re interested. I think it’s something most native English writers do without thinking by adulthood.
https://capitalizemytitle.com/