It’s also common to target an audience by having the characters be reflective of the audience. If you write a book targeted at elementary school boys, you usually want it to start an elementary school boy.
Which is pretty funny when looking at Disney vs Ghibli movies because Ghibli actually does that while Disney just goes “Here’s a young adult princess, enjoy girls!”