A taxonomy field returns either 1 term object or an array of term objects depending on what you set the field for. You need to access the properties of the object.
The documentation for the taxonomy field is here https://www.advancedcustomfields.com/resources/taxonomy/