Nets:
After dealing with the Cam Thomas situation, they are able to obtain Kuzma and AJJ. This isn't anywhere near the peak value of Cam Thomas but Kuzma is a good salary filler for a trade and AJJ is an athletic freak that can get above the rim and play some good defense. His pace/skill is very parallel to the rest of the roster especially the new incoming draft picks
Bucks:
Besides Giannis, there isn't any other threat on this team. While Cam Thomas isn't quite the guy you think about when you form a championship level roster, this signing will still improve this team by a lot and despite his flaws, it's a lot better than Kyle Kuzma to say the least. It is a good move because it wins you games and makes Giannis' job much easier, and it is a good move if Giannis leaves. Cam Thomas still has a lot to prove and is young so it is a low-risk high-reward