The definitions of temperature and entropy are related to the concept of "thermodynamic equilibrium". In the absence of equilibrium, these concepts cannot be introduced. A black hole in combination with radiation presents a closed system, one of the subsystems of which (radiation) is close by its parameters to equilibrium, but other subsystems (black hole itself) do not. I.e., if the emitted radiation carries away entropy, this does not mean that in the remaining part it (being additive) is reduced by the same amount, because the very notion of a black hole cannot be introduced.
See our paper
Melkikh A.V., Melkikh E.A. Can we use thermodynamics in the system with gravity? 2017. Modern Physics Letters B.
Article Can we use thermodynamics in the systems with gravity?