Imagine having 3 degrees from the same university lol.. your undergrad, masters and PhD. Or both of your graduate degrees from the same university, apparently it doesn't look good when applying to academic positions, and this is what many profs have told me in the past. I think it's also because connections have been built already, and possibly the inability to adapt to different environments where grading, and teaching is very different.