I have complicated feelings about this. I've had see instructors, that are bad at their works blame students' lack of attention. It's so convenient to blame phones and students. Yet that overlooks the deeper systemic problems we might have.
But it is true that students can have a big impact on their instructor's performance, and it requires a lot of wisdom and experience to deal with it well. But it seems most instructors in universities lack that kind of training.