A possibility: The first two shots were misses because Oswald had to sight-in his rifle. The first shot missed completely, and the second hit JFK in the back, but those 2 shots let Oswald sight-in the rifle. With the third, he hit his target, Kennedy's head. He needed to sight-in the rifle because he had broken it down to carry it into the TSBD.