If the product tab is not showing on the frontend after add or edit, then do reindex by run the below CLI command php bin/magento indexer:reindex product_tabs_rule
Tabs that matched Conditions will be shown on the product page. It also depends on the other fields like Status, Website, Customer Group, From-To, Discard subsequent tab.
You need to copy the following template into your third-party theme and make it compatible for your theme. view/frontend/templates/product/view/details.phtml