First off, we had optionality. They both were connected to multiple teams who were looking for reinforcements, some of which didnt get any.
Secondly, they were among the 7 best players traded and all the others (Washington, Hield, Hayward, Gafford, Bojan) were traded to contenders for more value than we got (including those future firsts). Those trades included guys like Tre Mann, Quentin Grimes, Grant Williams and Furkan Korkmaz going the other way. Also Jaden Springer was traded for 1 second rounder.
Thirdly, there were teams like Miami and Warriors who were interested in KO but didnt get anyone. KO was also connected to Sixers and Celtics. Tech was connected to Celtics, Cavs and Suns at least.
Finally, if you think Raptors and Pistons are the highest bidders you find for competent players at the DL, then I dont know what to tell you.
It was a choice to get only 2024 picks and expirings. In that requirement context they probably got the best return.