I am a salaried W2 employee, my employer gave me both a W-2 as well as a 1099-NEC for commissions earned

Why would an employer issue a 1099-NEC if I earned these commissions as a full-time salaried employee?