do_action hook is not loading the template parts from child-theme

I have the same exact file/folder structure in my child and parent them but there is this template-functions.php that is still being loaded from the parent theme.

The hook that is calling the function looks like this, do_action('underboot_branding_menu'); and underboot_branding_menu is a function in template-functions.php and this file is located in a folder called "inc". I know includes don’t search the child-theme but it doesn’t look this file is called using include().

I have tracked all the template parts and pieces and they are all being loaded from the child-theme expect for template-functions.php.

This is how the code calling the function looks like if it helps:

<?php             /**              *               * @hooked underboot_site_branding              * @see template-functions file              *               */             do_action('underboot_branding_menu'); ?>