I had this after getting my cabin camera swapped for one with IR, buzzing/crackling coming from where the IR emitters are in the rearview mirror/cabin camera housing.
I took the housing open, and cleaned the plastic and all touching parts with alcohol wipes, and problem seemed solved after that.