Live in CT, work in NY

Can you please explain the payroll deductions on my NY payroll check and how it gets applied to my CT income tax, if no CT tax is taken out.

 

I make all of my money in NY, but live in CT.

I am confused on what is taxed in each state, and if I am paying from my paycheck correctly each week.