How is KDA Calculated in Warzone?

I was playing Warzone and had practically identical stats for 2 games but slightly different KDAs. Both were on Attack on Sanctum, had the same kills, deaths, boss takedowns, and base captures. In the first game my KDA was 36 but in the second it was 35.3, even though I had double the assists in the second game (5 in the first 10 in the second). Any explanation for this?

It’s because AI kills (and maybe AI assists) count toward your KDA as well. You had a few more in your first game which bumped up your KDA a little.