The move is named after various stag beetles that have very large horns, mandibles, or pincers. They use these to joust for dominance, and therefore breeding rights. When used, they have a tendency to send each other flying.
Megahorn is a conversion of that tactic and behavior into game terms. It is also an unofficial signature move for Heracross in earlier generations