Because horses have powerful throat muscles that prevent any material from coming back up, and the shape of the stomach makes it even more difficult for anything to pass through the wrong way. That's part of the reason why it's so dangerous for a horse to have stomach problems, because unlike us, if they get something bad in there, they can't chuck it back out.
Although apparently, horses can and do vomit... just very, very rarely.
