DC circuit, fan grounded through a capacitor
Assuming the fan is a brushless DC type, there is a controller chip and circuitry inside of it that will have a local bypass capacitor to stabilize their voltage.. Your meter is charging or discharging this cap when you measure ohms.
A brushed motor won’t have that. It will appear as a resistance.