When entering a fight, companions that are furthest away, usually one or two, don't enter the combat turn order. I can swap to that companion and move them closer to enter them into combat but it's very annoying. This seems to have happened right after the fight on the beach with the woman that attacked the guards on the ship.