Put it to you this way.
If a kid is abused at home, a teacher notices it, and approaches the kid about it. The kid, trusting the teacher, confides in them what is going on. They say "don't tell mom/dad cause they'll get worse."
By law, the teacher does have to report child abuse, right?
But...