Basketball trades are rarely a straight exchange of players. Salary-matching rules mean the money must balance, and most of the complexity in a deal exists to satisfy that arithmetic.
The rule follows from the soft cap
A team under the cap can simply absorb an incoming contract into its available room, so the matching requirement barely affects it.
A team already above the cap has no room, so it may only take salary in if it sends comparable salary out.
Without that condition, an over-cap team could add contracts indefinitely and the cap would constrain nothing. The matching rule is therefore what gives the ceiling any practical force.
Contracts become trade currency
Because outgoing salary is required, a contract with little on-court value still has use as ballast to make a trade legal.
This is why deals include players who will not feature for their new team, and why an expiring contract carries value beyond the player attached to it. A deal expiring at the end of a season clears future room for whoever holds it.
Front offices deliberately keep such contracts on the books, treating them as the change needed to complete a future transaction. Roster spots are spent on flexibility rather than on basketball.
Draft picks bridge the value gap
Matching salary does not mean matching talent, so the team receiving the better player usually adds future draft picks to balance the deal.
Picks are useful currency because they carry no present salary, so they can be added freely without disturbing the matching calculation.
Rules limit how many consecutive future first-round picks a team may trade away, preventing a franchise from mortgaging a decade at once. The restriction forces a team to leave itself some future assets.
Third teams exist to absorb the mismatch
When two teams want a deal that will not balance, a third is brought in to take a contract neither of the others can carry.
That team charges for the service, usually in draft compensation or a young player, because it is using its own cap flexibility on somebody else's problem.
Multi-team trades are therefore a solution to an accounting constraint rather than evidence of unusually complicated basketball reasoning. The third team frequently receives the most attention and the least useful players.
Deadlines concentrate the activity
Trades must be completed before a fixed in-season deadline, after which rosters are largely locked for the run to the playoffs.
The deadline forces teams to decide whether they are competing or rebuilding, since the two positions imply opposite trades. A team hedging between them tends to end the day with nothing.
Most deals are agreed in the final hours, when the value of a contract is clearest and the alternatives have run out.

