What happens to horses teeth as they age

Two photos of a horse’s teeth, age 22 and age 29 when the teeth are much shorter and darker