The release of private information does not seem authorized. The school may have a problem on this issue.
The school’s policy is stupid in this situation. She may win her case because of the pregnancy. She will at least have the sympathy of the jury.
I agree, on that count. By telling the other parents and teachers, the school probably violated the law concerning privacy. They did nothing wrong, however, in firing her for the infraction itself.