On Street Art: Another Way of Giving Life

What is the legitimate reason for art-making prohibition? Why are abandoned buildings, and mostly squats, eligible subjects to this criminalization?