Typecasting comes from theatre. It is the force that casts people to roles whose personality matches the character desired. This makes the role more natural for them, and more convincing for the audience (without a lot of effort by the actor).