Usually its because tyres without treads grip better on dry circuits, although treads would be required if heavy rain fell
I hope this helped