Suggest registering the custom taxonomy before registering the custom post type. If that doesn't work, then try setting show_in_rest on the taxonomy config to true.
show_in_rest
true