Pigeons have evolved in environments full of fast-moving, scary-looking animals trying to eat them. There's nothing in their brain chemistry that registers downward-moving sand as a predator, and so the dumb little forgets just go headfirst into it cause they don't know any better. It's kinda sad.