The products_status is based on what you import the Products as ...

If you import them with products_status 1, what you see on the screen as In Stock, and products_quantity 0 they will show immediately as Sold Out ...

The status is changed during checkout ...

When you add Quantity to the Product, the products_status is already 1 adding the quantity automatically will remove the Sold Out ...