Could not save the list of my product after the edition, error: "the product does not exist", was detected due to the OOS related products. But why?

It was not possible to save the list of my product after the edition, an error message "the product does not exist" was shown, it was found that the cause is due to the fact that the related products are OOS But, why is it affecting the main list of products?

I would like to know if it is a Magento logic or an error that must be solved.

Thanks in advance and any welcome help!