Income Double Taxed (W-2 & 1099-B)

I was part of a startup which sold in 2021. During 2021, I did not work for the startup, but they sent me a W2 for the sale. It appears to be for the sale, however the amount on the W-2 does not match the proceeds I received in 2021 (posting a separate question for that). Upon entering both the 1099-B and the W-2, My tax payment skyrocketed to nearly 50% of the proceeds from the sale. Deleting either cuts the tax bill down to ~20% of the sale (about 25% if I leave the W-2 and 19% if i leave the 1099-B).

 

How can I get TurboTax to recognize that these 2 forms are for the same transaction?