I live in PA and work in NJ. I paid PA state income taxes. Why do I have to file a NJ Return?

In addition, I collected Unemployment from NJ and had my federal withheld.