There was a lot going on with this case.
She is reasonably famous in the US.
That shouldn't matter but it does, on both sides.
Pressure for the U.S. government to do something and the value of the catch for Putin.
Of course she played in the U.S. She felt she wasn't paid enough compared to men so was ALSO playing in Russia for the money.
Her being lesbian made her a more valuable catch for Putin as Putin is framing the genocidal war against Ukraine in terms of fighting the LGBT tolerant west.
The American far right wing, sleazeballs such as Donald Trump Jr., demonize LGBT people in a similar way to Putin and were against getting her out because they see lesbians as not worth anything.
Also what she did may be illegal, but there is no doubt that the punishment was very extreme and not anywhere near normal for such a case in Russia, meaning the obvious, that she was held completely for political and trading power purposes.
But Russia still won on this trade both objectively and propoganda-wise as Bout is a really really get get for Putin, and a basketball celebrity man or woman, doesn't really compare.
Moral of the story: Stay the F out of Russia!