What this is really about is protecting teachers from retaliation by bigoted parents. When kids grow up in a hostile household, teachers may be the only authority figures they feel safe to confide in.
Not having a mandatory reporting policy for gender identity/pronouns means that teachers do not need to betray the trust of their students to keep their jobs/don’t have to fear losing their jobs for keeping that secret in spite of the policy.