TurboTax 2022 is figuring my Roth withdrawal incorrectly

At least, I hope it is! I'm over 59 ½. I had two Roth IRAs in SoFi. They were losing money like mad so I pulled them out an put them into savings. They were not 5 years old; however, I should only have to pay taxes on the gain. I *lost* money, so there should be no tax, as I've already paid tax on the initial deposits.

 

However, TT reduced my refund by ~39%!

I must have mischaracterized something about my withdrawal? Or has TT lost it's mind?