State tax filing

Hi, I had a rollover into IRA in 2021 from an employer 401K last year and was shocked that NJ charges income tax on the entire amount.  My 1099R does show G as distribution code.  According to Turbo tax instructions, NJ has a different rule than federal and that unless you paid taxes on these contributions, the rollover is taxable income.  I would assume the contributions were not taxed in NJ since they were not taxed Federal.  Does Turbo Tax have a glitch or am I understanding something wrong?  

 

Thank you!