A mutation in an ethanol-metabolizing enzyme arose around the time that arboreal primates shifted to a more terrestrial lifestyle, perhaps as an adaptation to eating fermented fruit.
In Chapter 3, "On the Inebriation of Elephants," author Robert Dudley considers whether tales of tipsy pachyderms and bombed baboons have any basis in scientific truth.