Why do I owe S.C. taxes & I didn’t work in S.C.? Just live in S.C.

I live in S.C. but work in NC . How do I fill out my taxes ?