The discovery points to something scientists did not expect from creatures with such small brains.