Another wash sale question

Hello!

I bought 200 shares back in 2021 at cost basis of $2697.66. Then in December of 2023 the shares have dipped quite a bit but started to bounce back. I sold them all for proceeds of $751.98 while hoping to buy  more back on the dip. I then purchased 210 shares(10 more than I had) of the same shares on the dip with the proceeds. 

Now my 1099-b treats the transaction as a wash and it considering my loss of 2697.66-751.98=$1945.68 as a gain. Once the e*trade transaction was imported I had to pay capital gain stock on $1945.68, which appears onbox 1g - wash sale loss disallowed.. Why would I have to pay $400 in taxes if I lost $1945.68?

This is also the case on several other transactions and capital gain taxes add up to over $800.