If you added a product only to a catalog subcategory but displayed a category, it won't display. To display a product in a category, you must add it there separately.
A product isn't automatically assigned to a catalog category if it's only added to its subcategory. So if you plan to display a catalog category on the page, add all products from its subcategories to it.