There are several reasons why a ship would wait outside ports. The ship might be awaiting a berth occupied by another vessel. This may happen when berths are restricted to certain classes by virtue of their cargo or size. Sometimes, ships alongside are unable to depart as scheduled for various reasons.