If you only experience this in Teams, then it’s probably your connection or other users who causes this. Having said that, there’s a recall on the APP for crackling noise while in a call (either phone or Teams). I had my APP replaced earlier this year because of this. Check Apple Support web site for more info.