Non resident capital gains

I worked and retired in Texas. I took my 401K and bought mutual funds at Ed Jones Inv. in Texas. I moved to Oklahoma 2 years ago and pulled monies out of my mutual funds last year.  Do I pay capital gains to Oklahoma State on that money that was made in Texas? I’ve ask 2 CPA’s and get different answers.  Help