The interaction between the internal rotation and magnetic fields retards or speeds up the spin rate.
While Earth's slowing rotation is not noticeable on human timescales, it's enough to work significant changes over eons. One of those changes is perhaps the most significant of all: lengthening days ...