Sincerely hope you're having a great day!
I've read your problem and, before providing a solution, would like to analyze your website. Then, I will provide a solution to you up here - on the forum.
Could you share your website URL? And if your website is password protected, then also provide a password?
you will see that the variants that are out of stock do not show in the variant list, but then the images of those variants still reflect. How can I hide those images that are attached/assigned to the variants that are now out of stock?
Let me know if that makes sense.