> So the law was passed to fix a problem that does not exist in CA.
No, it wasn't. The article is, at best, abusing "rebuke" to mean "buck the trend", but the law does not literally rebuke foreign state laws.
It addresses two related issues, both of which do, in fact, exist in California:
(1) It provides school-based support and resources for LGBTQ+ students and families thereof responsive to research on specific needs of that community, including the significant effect of family support on well-being,
(2) It prohibits local districts from forced-outing policies, which have been adopted by at least four districts (at least one of which has been forced to put enforcement on hold because of a temporary restraining order issued in a lawsuit brought against the policy), and are under discussion by more than a dozen more.