How to fix mapping buttons wrong on my PS5 controller

When my PS5 controller pairs with my fire stick TV the square button and X button switch functions( x button "recent page" and square button "selects". How can I have them back to it's normal functions.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0