For those of you who are unfamiliar with long distance shots, there are a LOT of variables that can affect a shot over the distance of even just one mile; let alone over 2 miles.
You have left/right windage and bullet rise/drop adjustments for starters; most people are aware of these. Even small air currents can change direction in just a few moments - even over a few hundred yards. Air pressure, humidity, and temperature are also relevant, as well as height above sea level. Thermals also rising off of the earth's surface will also affect the bullet path so that is yet another factor. Then there is the Coriolis effect, which means that the earth's spin will change the direction of the bullet because there is enough hang time of the projectile above the earth turning below it - at/around the 700 yd distance - and greater.
Bullets/rifles/cartridges have to be specially spec'd for maximum efficiency; the power and weight of a single round is primary to accuracy. The Barrett 50 cal can go that distance; but that doesn't mean that it can shoot as straight as a laser beam.
So; luck has to play a big part.
Or in case of the target; destiny.