Trade has been a rollercoaster recently. Between the unpredictability of tariffs and uncertain economic outlooks, ports have faced big swings in trade volume as well as pressure to do more with less.