That's pretty funny... of course it's learned.... just as it is in humans.
My girlfriend, who is a zookeeper, has a picture she watched an elephant paint, for her. The particular zoo used painting as enrichment for its' elephants. The elephant was given a brush with some paint colors spread around it. It painted a picture of it's favorite "toy"....a tire that was hung on a tree.... that was in an entirely different enclosure, and out of view.
I found that very interesting, in itself.