I used to have this problem. I got some clips for the sheets and it stopped happening so a solution for people if this happens to you and it’s annoying.
I can’t recommend these clips enough. I roll a lot in my sleep, and my fitted sheet used to ride up every night. I installed these clips and the sheet has not budged since.