It's stick drift for sure. These stupid PS5 controllers are notorious for it. I've gone through a couple controllers in the last couple years. Best thing to do is get the warranty when you buy a new one.
And I've also done the thing where you're frustrated from it and slam the stick in or hit the controller lol. It works for a little bit but it will end up doing it again