Relying on airpower was thought to be an efficient way to win a war. You inflict maximum pain on your enemy with minimum troops. The problem was enemy and the local people were not so easily distinguishable. Hence, raining bombs from miles up ended up killing those whose hearts and minds you wanted to win. Result was you lost more hearts and minds.
So here we go again in Afghanistan. Read this.