Why did I get a 1099-B if my employer took 19 shares to pay for taxes at issue and it was included on my W-2?

In Feb 2018, my company issued 50 RSR's to employees as a retention bonus that would vest in Feb 2020. According to docs from my employer, they withheld 19 shares from my 50 RSR award ("Any required taxes on the RSRs are collected by withholding shares....The amount of taxable income will be reported on the individual's W-2 in the tax year that the RSR has fully vested"). I sold my remaining 31 shares the day they vested. I got a 1099-B in the mail a week ago for the 31-share sale. I'm confused.....they withheld 19 shares to pay for taxes, but the proceeds from the 31 shares I sold are ALSO taxable??? Then what tax(es) did the 19 shares withheld pay?!?!?