The name avocado is an approximation of ahuacatl, an Aztec word. No one is certain how the name “alligator pear” came around. Some avocados are pear-shaped, although others are round or long oval. Some varieties grow best in tropical areas, where alligators can be expected to lurk.
The World Encyclopedia of Food by L. Patrick Coyle, 1982.