The spraying of airplanes as they land is a tradition known as the “water salute.” As explained by Wikipedia, it's performed for ceremonial purposes, such as the retirement of an airplane. When an airplane makes its final flight, it's honored with the water salute once it lands on the tarmac.