Question here is when do we segmented tabs in the design vs when do you use horizontal tabs in design?
Segmented tabs
Horizontal navigation
As others have pointed out in the replies, the common consensus in design communities is that:
I always advocate for the use of segmented control when you are dealing with one pool of data and you want to show a Superset/Subset A/Subset B slices, filtered on either same or different attributes of the item in the pool.
Tabs are for when the pools are different.
We used this as a rule in my previous and current products, and it works out well as long as all designers undderstand the proper usage. Otherwise everyone just uses whatever they feel looks nicer, especially if the data model is complex and they need to deal with 'tabs inside tabs' structure, they would ofren use Tabs as a parent and Segments as a child, to break visual rhythm a little, but both would work as tabs.
Segmented tabs are used for content that is related. It can be as a filter, view change or an action. Some examples:
Tabs are almost always used as a view change when you have data that has different meaning but revolves around the same context.