I get that on my PS4 controller.
I fix it by disconnecting and reconnecting the controller.
I have no idea HOW this happens on a technical level, but when your controller (re)connects with the game sometimes it does funny. I hope your controller never suddenly remaps the buttons like that while you're in the middle of Savage like mine has
From what I understand this is mainly for wired controllers though?