To be sure, the burning of the library happened during the early days of WW1, which had neither nazis, gestapo, nor Nuremberg trials.
The cause in 1940 was apparently an artillery duel between German and British troops, which is on a different level from purposefully setting fire to a library within an occupied city, even if the result is equally terrible.