Do teachers takes oaths? Do nurses? I was under the impression the medical profession was held to a much higher standard on ethics, assistance, and duty?
One of the phrases that's used around this is "duty of care", and teachers (and other members of the educational profession) definitely have one towards their students[1]. It's not a trivial thing, regardless of how (or even if) the two are ordered.
[1] https://www2.education.vic.gov.au/pal/duty-of-care/policy