Forbes has written about this, if tangentially. It has to do with the fact that your brokerage can lend stocks it holds on your behalf to short sellers, etc., because the stock is in the brokerage’s name not yours.
It doesn’t lend them to short sellers. It sells them to the shorts with the understanding that the shorts will replace them at an agreed upon time.