Hello,
Do you use any third-party plugins for the product images or product galleries or any custom code in child theme functions.php related to product images?
Try to disable third-party plugins that do not come bundled with our theme one by one and check the single product and check child theme functions.php file looking for the third-party code. Probably one of them causing the issue.
Regards