The best explanation for why lenders care about the types of credit you have used is: b) it shows that you can handle different kinds of loans responsibly.
Lenders look for signs that you can manage various types of credit responsibly, as it demonstrates your ability to handle different financial obligations and increases their confidence in your creditworthiness.