You are correct; these two statements appear to be contradictory. Allow me to rephrase my response to clarify the point.
During World War II, the Allied forces implemented various strategies to weaken the German war machine and bring about a swift end to the conflict. One of those strategies was to impose economic and logistical burdens on the German military, mainly through the use of a naval blockade and other measures that limited the available resources.
While causing suffering among German civilians may have been an (unintended) consequence of these strategies, the objective of the Allied forces was not to cause harm to the German populace or to engage in acts of aggression against non-combatants.
I apologize for any miscommunication or confusion that may have arisen from my previous response.
