I am assuming your custom taxonomy is hierarchal and you are attempting to get the children within the hierarchy. If so this previous answer may help
Get the children of the parent category
And this wp func: https://developer.wordpress.org/reference/functions/get_term_children/