Wars are strategic actions by nations. But humans generally will not engage in mass killing for strategic reasons. They need moral reasons. So propaganda is necessary for warfare in order to frame war in a moral manner. The enemy or enemy leaders are depicted as evil or inhuman. Or their most despicable acts are emphasized to create a sense of 'morally-justified' hatred or the idea that they must be stopped or punished at all costs. Such as killing millions of people if necessary or destroying a country.
Actually, if it serves their interests and especially if all of their neighbors are not protesting, humans will go along with pretty much anything. But you do need to at least give them a cover story.
Technology should theoretically be able to help reduce the influence of propaganda through things like new types of decentralized news distribution.