Ships sometimes rotate on their own

I’ve noticed a few times now that I’ll tell a ship to go somewhere, and once it arrives, it rotates slowly at that point. It’s weird and awkward when trying to lineup refineries in advantageous ways. But, it’s especially weird from a gameplay perspective when the ship is a carrier, and all of the ships spawned from that carrier orbit around the carrier.