Because SSD’s have a set number of time that it can write to a bit (it’s a pretty high number, don’t worry), and defragging basically just reorganizes everything, thus using some of those writes. So if you do it on a regular basis, it adds up and will decrease the time before it stops working.