If your out of stock variations are not displayed, check the following setting.
Go to WooCommerce > Settings > Products > Inventory and ensure that the ‘Out of stock visibility’ checkbox is not seleected.