Contrary to the 24w37a changelog, mobs extinguish fire when converted to another type of mob. The Fire tag tracking fire duration is not kept.
To reproduce:
Spawn a mooshroom
Set it on fire
Shear the mooshroom
Notice that the mooshroom is extinguished, instead of staying on fire as expected
Can confirm.