NBA free agency is a mess, but it can be even more chaotic for teams with surpluses of restricted free agents.
While the team of a restricted free agent has the right to match any offer sheet that player may sign, the open market can ultimately determine how much cash must come out of a franchise's pocket to keep them around.
In certain situations, that's fine. When a team knows it will re-sign a player no matter what, allowing league-wide interest to determine their value actually works.
But it's not always that cut and dry, as sometimes the easiest free agents to retain can become the hardest ones to hold onto.