A popular legend says nuns in a Puebla convent invented mole to honour a visiting archbishop, grinding together everything they had.
Folk origin, much retold.