Canonical issue , URL changing to variant ID

I have products with variants, the system submits the product URL but when the page opens and loads the URL changes automatically with varients ID.
canonical is https://www.blueapplejewelryco.com/collections/cz-rings/products/round-cubic-zirconia-v-midi-chevron-ring-925-sterling-silver-bar10074-1 and the product but it automatically changes to variants https://www.blueapplejewelryco.com/collections/cz-rings/products/round-cubic-zirconia-v-midi-chevron-ring-925-sterling-silver-bar10074-1?variant=42342621675703

and I want to not change the URL and Run further processes in the backend, suggest a solution

Screenshot 2024-03-01 103226.png