The first known idea for a guided surface-to-air missile was in 1925, when a beam riding system was proposed whereby a rocket would follow a searchlight beam onto a target.
Bombers flying at higher altitudes require larger guns and shells to reach them.