In more detail
Most cargo between smaller ports travels through hub ports where ships exchange containers. Each transshipment adds time and a small risk of delay, so a direct service is faster even when the distance is the same.
Example
In MADAR’s work
Why trade through Oman
Cargo from Kolkata to Sohar may be transshipped in Colombo.