Hey there. So this is supposed to happen if Charlon's ship is there, and you are not on the map, and an enemy is on the map.
But you say it just happened randomly while you had colonists on the map? Can you confirm exactly what happened that led to this occurring? It definitely could be a bug, and we will investigate.