Advisors are also very much at fault, not just students.
The last year of my PhD I ended up being pretty much alone because my advisor had changed research topics a year before and therefore was not interested nor up to date, so any of her inputs were not very useful.
A couple friends of mine also struggled with their advisor because he actively avoided communication for some reason. I guess he had a personal or health issue.
So even on good faith, advisors can end up making students life quite stressful for one reason or another