Try to regenerate “Regenerate the product attributes lookup table” in Woocommerce > Status > Tools: https://take.ms/LGpvf
In addition, please check Woocommerce > Settings > Product tab > Advanced tab and disable Use the product attributes lookup table for catalog filtering.