One. He could be seeking attention or perhaps he has trouble concentrating in class. He may not have any ambition to be there in the first place is occupying himself doing other activities that are not necessarily smiled upon. Two. You could discourage him by simply telling him to stop and saying it's not cool that my vandalizing the school is definitely not one of the ways that he should be seeking attention or help. You could ask him if he needs help with his work