Horses may occasionally eat dirt due to nutritional deficiencies, particularly if they lack minerals in their diet. They might also ingest dirt accidentally while grazing or if they're bored. However, excessive dirt eating can lead to health issues, like colic, so it's important to consult a vet if this behavior is noticed.