Bread is a bit of an exception here, as it undergoes extensive mechanical (milling), biochemical (fermentation) and thermal (baking) processing. Yet it does not count as ultra-processed.
Bread is made from dough, which is mainly made from flour (the "minimally processed" food), which is made from grains (the unprocessed food)