On the product that doesn’t work you lack the variant id input field, and quantity input field. If both products are on same template, the reason could be that the first one is out of stock. If they are on different product templates you likely have error in templates
FIRST PRODUCT INPUTS:
SECOND PRODUCT INPUTS:

