Reuters reports that the ports of Los Angeles and Long Beach are two of the least efficient ports in the world, ranking 328 and 333 out of a total of 351 container ports worldwide. So when you think about the supply chain congestion, keep those abysmal ratings in mind.
Based on long residence in California I’d guess the fault lies mostly with the ILWU longshore unions, founded and nurtured by Communist Harry Bridges back in the 1930s. Some of the fault lies with the CA pollution control wallahs who do their level best to make everything in SoCal twice as hard, costly and irritating as it could otherwise be.