"The orders instruct him to not make public any information that would identify A.B., or the medical professionals involved, to call A.B. by the child’s preferred name and gender pronoun, and to not share his opinions of the case publicly."
"In June 2020, C.D. gave an interview to a YouTube channel, where he’s alleged to have identified health-care providers, revealed information about A.B.’s mental health, medical status or treatments, and gave out information that could reveal C.D., A.B. and the mother’s identity."
"“This order should not restrict C.D.’s right to express his opinion in his private communications with family, close friends and close advisors, provided none of these individuals is part of or connected with the media or any public forum, and provided C.D. obtain assurances from those with whom he shares information or views that they will not share that information with others,” the court said."
It sounds like his arrest is more due to him repeatedly discussing the case in public rather than the pronouns he used.
That's a specific court order involving a specific parent and a specific child. There are all sorts of idiosyncratic orders like that, not just in Canada but in the US.
Source?