The smartest people in a field are not necessarily the best at training, especially if they care more about their own research end goals than trainee outcomes and/or have never gotten proper guidance on how to effectively mentor.
Whether someone would be/is a good graduate student mentor is a total side dish when it comes to hiring and tenure decisions too. Grants, publications, professional connections, research topic/vision, are all more frequently discussed.