I never had a name for it. But there was a frustration, something like anger and a kick in the gut, that I was being required to do things as a teacher that I knew were bad practice, not just useless in achieving success, but detrimental to my students.
I first encountered the term "moral injury" in writing about the medical field (in an article no longer accessible on line). But I recognized it immediately from the last many years of my teaching career, and I think it's a useful concept to add to the whole "Is it low morale, or burnout, or what?" It has roots in work with soldiers and veterans and is sometimes connected to PTSD.
Here's a useful definition from Psychology Today:Moral injury is the social, psychological, and spiritual harm that arises from a betrayal of one’s core values, such as justice, fairness, and loyalty.
Teaching is not simply some kind of technical job; it has a strong moral component that requires teachers to bring their values to work. When the job, either on the national or building level, requires them not just to leave those values outside the classroom, but to actively violate them, then you get the kind of massive job dissatisfaction we're seeing these days.