Not every role can do that, by a mile.
Some technical people are terrible at helping juniors in their careers, and relatively poor communicators. Their job is "get the thing built" or "maintain the servers".
Managers support each report in succeeding not just at their job but their career, and are an escalation point for cross-team conflict, among other things.