Admin product tab generation is incorrect for configurable, downloadable, bundle and grouped products because it depends on «product-details» tab which could be absent

See the code:

They all related on product-details attribute group code.
But all the attribute groups can be freely renamed and deleted through the adnmin interface. If you do so, you breaks your admin pages for configurable, downloadable, bundle and grouped products.

Moreover, in some cases the buggy Magento 2 code wrongly renames product-details group for you (and breaks admin pages for you): BUG: the product general attributes (name, sku, price, quantity) are wrongly in “Images and Videos” section now

GitHub issue: 2021

This leads to the bugs: