Morality doesn't exist in a vacuum. It's not objective, it's collectively determined by society.
As a society we have decided en masse that blowing up randomly selected people to draw attention to one's political views is not acceptable.
As a society we also have decided that violent actions taken against the German government in the early 1940s were acceptable.
This isn't a contradiction, nor hypocrisy, simply the ability to have nuanced opinions.