Support → Settings → Assign Agent Rule → General
If enables, any unassigned ticket gets auto-assign to the agent who responds first to that ticket.