What is NIIT

TurboTax is saying that I owe Net Investment Income Tax for 2024. What would cause this? I don't have a business or anything like that, just a W-2 job that pays salary plus RSUs. I did sell some of that stock and rebalance my portfolio, but the stock hadn't appreciated much. My company automatically withholds taxes when the stock vests.