Yes, it can. Sand can get trapped in the inner parts of the dryer and damage the machine. That’s why it’s important to make sure your swim trunks are free of sand before putting them in the wash.