Someone or something must have been watching amy for a very long time because how would kovarian know that she was travelling with the doctor, that she had a wedding and that her and rory had sexy time aboard the tardis in mid flight, which had to of happened for all this to of happened. The doctor also knew the possibility of this hence him insisting on bunkbeds :L