Elephant paints self-portrait

There are no words. How did they figure this was possible?