James David Lewis-Williams said this quote

In southern Africa, a great many figures are ithyphallic. This feature has generally – and rather vaguely – been taken to refer to ‘masculinity’, but the painted contexts of the figures seems to confirm that, as in North America, sexual arousal was a metaphor for altered states of consciousness.