State income tax

I worked in Texas in 2022, and Tennessee in 2023. I had Mississippi state income tax taken out because I applied to the company while I still lived in Mississippi and never got it changed. Am I able to be refunded for those two years? or am I out of luck?

 

Thanks