On Magento frontend, whenever a user makes choice from the configurable product, product options and price will be changed accordingly but not product SKU. Follow these steps to switch store product SKU according to the selection of child products in Magento 2.
Attachment 13497
for more tutorial: How to switch Product SKU according to the selection of child products in Magento 2