Inputed a 1099-R from california but its telling me i owe an oregon tax on it. I was not an oregon resident at that time.

I am a resident of Oregon now but not the time of taking out my 401k plan. What going on here?