magento2 – Getting error on extending in Custom Module vendor/magento/module-shipping/view/adminhtml/templates/order/tracking/view.phtml file in Magento 2.4

On extending

vendor/magento/module-shipping/view/adminhtml/templates/order/tracking/view.phtml

file in Magento 2.4 getting error like

1 exception(s):
Exception #0 (Exception): Warning: Invalid argument supplied for foreach() in var/www/html/hl/app/code/Custom/Shipping/view/adminhtml/templates/order/tracking/view.phtml on line 30

My file path is
app/code/Custom/Shipping/view/adminhtml/templates/order/tracking/view.phtml

I have checked that the file is override but it doesn’t take the block data from there.

Any one have idea regarding that how to get those data in custom module file.

Any help is appreciated.