They violated the assumption of confidentiality between a counselor and a patient -- and thus medical ethics. Lock 'em up!
Patients can waive any client-patient confidentiality whenever they want and to whomever they want. Otherwise, you couldn't tell your spouse or friend or parents or whomever about what the doctor told you. That makes no sense. So that can't be it.
The alleged "issue" is that they publicly taped the Planned Parenthood representatives talking about selling baby parts... in a public place, where there is no expectation of privacy, regardless of what any law says. The activist California AG will lose this case, badly. It is the very definition of a partisan witch hunt by a partisan hack.