Like the crucial steps toward public acceptance preceding the U.S. invasions of Vietnam and Iraq, the assassination of Qassem Soleimani was aimed at building popular support for war on Iran. Not only the justification, but the assassination itself were part of a broader strategy to grease the skids into war.
https://www.theamericanconservative.com/articles/pompeos-gulf-of-tonkin-incident/