It is intentional behavior, the same as in Magento 1.x.
A product in Magento could belong to multiple categories, so there is an ambiguity: which category path should be used for a product if the product belongs to multiple categories?
So Magento does not use any category path at all.