buttons and tags treatment affect UX of product? [on hold]

I have seen so many treatments of the buttons and the tags capsules using the soft radius, sharp corners and sometimes with a full radius like in this image.

buttons treatments sanchitsharma.com

so these treatments are brand dependent and everybody is open to use any so match the that it could brand or there is any research and use cases to apply these effects on the UI elements to engage the users more?