Was that ever stated on the show?
All I know is that just prior to that episode the Doctor Who Magazine had an issue with four alternate covers (the Doctor, Amy, Rory and River) and the tagline that one of these WILL die. OK, invoking the mag is a bit metatextual, but that only makes sense if...