I think because a large amount of ice cream's volume comes from air, and it also has a high fat content, it tends to sit on top of the liquid in your stomach until further digested, so when you puke shortly after eating it, that's the first thing that comes out.
But this is just a guess.