Public sentiments are often swayed in favour of war, and have far less reason to take into account its consequences, because the public isn't punished at the ballot box if "our patriotic duty" turns out to be a farcical mistake.
And when it comes to influential minorities, can we even rely on the 59% of Argentines (Yougov survey, 2012) that think military action over "las Malvinas" would be inappropriate to keep the ultra-patriotic 26% that would favour a hypothetical military solution in check? Especially with a substantial majority of that anti-war grouping believing those islands rightfully belong to Argentina anyway. The 1982 war, after all, was a desperately unpopular dictatorship's attempt to appeal to public sentiment.
[1]though due to the quirk of Florida being an essential swing state in the electoral college system they've had a disproportional influence in policy under the existing system anyway...
If I'm not mistaken public opinion in the US did not support a declaration of war against Germany before Pearl Harbor, obviously in the case of WWII the US really wasn't left with a choice after declarations of war by both Germany and Japan.
The types of wars and foreign policy decisions the US has been engaged in are more or less inconceivable with an informed and educated electorate that could vote on them.