David,
Mostly it's down to creating publicity in celebration of a major milestone or anniversary.
It is certainly a way for the airline to generate news out of nothing so the expense of doing so by far pays for itself.
Personally I want to see a 787 in landor livery