This sort of display is rolled on cue by the mahout for touristic purposes. On the other hand, the behaviour is natural and the elephant obviously enjoys it.