Working remotely from AZ for a CA Company

Hi ,

I got a job in CA company and started working from Feb 2022 but currently I am staying in AZ (from past few years).

I could see in my pay-slip taxes were deducted by CA and I don't have any plans to move to CA near future.

Can you help me how the tax amount will work.

Do I need to pay AZ taxes again ..? if I need to pay can I get my CA taxes back ..?

I have very less knowledge on taxes any small info helps me lot.

Thank you very much in advance.