1099-NEC

I work remotely for different companies. Some of them hired me as a part time employee so for those I receive a W2 but for the others that I work as an independent contractor for I receive a 1099-NEC. One 1099-NEC has no information listed under 6. state no. But the other 1099-NEC says NY and NY RES under no. 6. Why does it say this? Boxes 5 and 7 are both blank since no taxes were taken out. I live in NJ and  performed all work from home. Based on what I read, it sounds like where you completed the work is where you file but I just wanted to confirm since I found it strange that the two forms were different. Thank you!