Dependents working out of state but living home

I have two sons away in college.  One in South Carolina and the other in California.  We live in NY and that is their permanent address.

 

They both had jobs in 2022 in stores physically located in those states.

 

On the W2 for the California job, the company is located in Florida.   Not sure yet about the SC job, but it is a national chain so I assume it will be similar.

 

Will they need to pay CA and SC state tax?

 

Thank you,

RC