Certainly there was a school of thought that Germany had it coming after attacks on Rotterdam and Coventry. At the start of the war, Britain had had a policy of bombing only military targets and infrastructure such as ports and railways which were of military importance. While it was acknowledged that some civilian casualties were inevitable, the British government renounced the deliberate bombing of civilian property outside combat zones as a military tactic.
This policy was abandoned on 15 May 1940, one day after the Rotterdam Blitz, when the RAF was directed to attack targets in the Ruhr, including oil plants and other industrial targets which aided the German war effort. The first RAF raid on the interior of Germany took place on the night of 15/16 May 1940.
This view shifted by June 1941 to “area bombing” in response to German attacks on Britain during the blitz, to where not only factories but nearby housing and the civilian population were considered legitimate targets. RAF thinking had been reversed from seeing any civilian casualties as collateral damage when attacking a military target to deliberately targeting civilians in an attempt to destroy their morale. This was expected to reduce industrial production and therefore hinder the German war effort.
To this end, the allies researched incendiary bombs and the correct ratio of high explosive to incendiaries to cause the most damage. Thus such terrifyingly destructive raids such as Hamburg or Dresden should not be surprising. That said, I was stunned to compare the deaths from Rotterdam (900 killed) or Coventry (568 killed) with Hamburg (37,000 killed) or Dresden (25,000 killed).
Strategic bombing of Japan had a similar shift, to more destructive area bombing raids. USAAF doctrine had called for daylight precision bombing, and by 1944 they had the plane for the job, the B-29 Superfortress. Precision bombing had not been successful in Germany, though, and in Japan, where clear weather was rare and jet stream winds played havoc at high altitude, the opening phases of the bombing campaign were unsuccessful.
The USAAF switched to nighttime, low-level incendiary raids, lightened the planes ( by removing all defensive guns) to carry more bombs, and gave up tight formations, needed for precision bombing, for fuel savings and more bombload. On March 10th, 1945, Tokyo was bombed, destroying a quarter of all buildings and killing over 90,000. The USAAF continued these raids on Japanese cities until they ran out of incendiaries.
Although most thought the Japanese had it coming with its bombing and strafing of Chinese civilians and the sneak attack on Pearl Harbor, the Strategic Bombing Survey after the war stated that most casualties were women, children, and the elderly. For a country that had condemned the indiscriminate bombing of civilians, this was something new and more terrible than the normal awfulness of war.