Numerous reasons. Such as, to be disrespectful, to be funny, or to be known. Graffiti like that isn't a modern practice either. Archeologists have found numerous acts of graffiti throughout the Roman empire. Especially in the "red light" districts. The funny thing is, what people consider to be displeasing now, will be considered a discovery sometime in the future.