Terms added to custom taxonomy for custom post type only appear in Rest when added in code

Terms added to custom taxonomy for custom post type only appear in Rest when added in code

tech