Anonymous users cannot see listed Commerce products in a View with a relationship to product
By default commerce products do not give anonymous permissions to be viewable. This is the reason when a View contains Commerce product relationships it will show nothing when your logged out. You will have to give users the permission setting:

--- View any product of any type ---