The story
The noun is derived from ear + mark. The verb is derived from the noun.
Etymology from Wiktionary, CC BY-SA 4.0.
Today it means: A mark made or tag attached to the ear of an animal (chiefly a livestock animal), generally to identify or indicate something about the animal, such as ownership, health or gestation status, etc. Full definition →
The noun is derived from ear + mark. The verb is derived from the noun.
Etymology from Wiktionary, CC BY-SA 4.0.