Comment by rtkwe
Partially because Universities insist on making professors both teach and perform research (for the most part a few do have a real distinction between teaching and research but most still require at least a token class from most of their researchers) which isn't what most people go into a PhD program to do.
> Partially because Universities insist on making professors both teach and perform research
That alone would not be problematic. The real problem is that they insist on it, but only evaluate them on their research. That doesn’t create an incentive to spend time on getting better at teaching.