When you add a product attribute on the product variant details page (admin area), just ensure that "Is required" checkbox is ticked
How to make the "Is Required" checked by default when adding a new product attribute in the admin?
How to make the "Is Required" checked by default when adding a new product attribute in the admin?
This is not available out of the box. It requires customization work.