A sign of maturity is caring more about being respected than being liked.
Liking is shallow affection. It comes from being pleasant—you bend over backwards to accommodate others.
Respect is deep regard. It's earned by being principled—you stand up for your values.