Totally ad-hoc...
Usually on request of the pilots, if there is a 'wide enough gap' between them and the 'following' aircraft... So it could be very busy as well...
Indeed to 'cut some flight time and fuel...' or just to 'enjoy the nice view...'
Kind regards, learner . . .