NJ Resident and Non-resident returns and PA return, Double Taxed Income

I am a bit confused and am hoping someone can help with NJ and PA returns.

 

I worked in NJ and lived there for less than 6 months.  I also owned a home in NJ which I sold in the first half of the year.  I moved to PA while still working in NJ.

 

The forms generating are a Resident NJ return and a Non-resident NJ return showing that I owe money for each return.  Is it correct to have two NJ returns and owe money for both?

 

My employer took out state income tax for each NJ and PA. The PA return shows I also owe money.

 

When the question of "Did you earn any income from NJ sources while living in another state?" comes up I hit "Yes" because I did earn my income from NJ while living in PA.  Is that correct?  I am aware another user had an issue with that question.

 

And do I need to fill out the PA Schedule G/L form?