Its an utterly unwinnable situation. They are a violent theocracy. Their "leader" is a religiously based agenda.
Kill the leaders, more step up, and usually even more debased than the last ones. Negotiate something with them and even if some of them agree to it, others will stay the path they believe in and just ignore whatever treaty you agreed to...
Literally a month ago their military was openly talking about killing their own leaders if they negotiated anything they didn't like with America... They want the war because they dont live in reality... they want a ground invasion for some stupid reason..
My guess is that they just want a realistic opportunity to kill Americans for all the violent middle eastern nutjobs.. since we pulled out of the other hotspots, they dont have that easy access anymore..
I dont have answers.. boots on the ground certainly isnt the right course...
Maybe just bomb all their oil fields and bankrupt them.
Cant buy missiles or drones with sand and saffron... Ooil products make up over 80% of their economy...