During his election campaign Trump did not even know (vid) who Soleimani was. Someone indoctrinated him. The idea to assassinate Soleimani came most likely from Netanyahoo and must have been planted into Trump’s head quite a while ago. Israel could have killed Soleimani several times while he was openly traveling in Syria. It shied away from doing that as it (rightly) feared the consequences. Now the U.S. will have to endure them.
The consequences continue to pile up.
The decision by the Iraqi government and parliament to kick all foreign troops out of the country leaves some flexibility in the timeline. The U.S. and other military are in Iraq under simple agreements that were exchanged between the Iraqi Foreign Ministry and the other sides. The ministry can fulfill the parliament decision by simply writing letters that declare that the agreements end next week. It could also choose to wait until the end of the year. But Prime Minister Adel Abdul Mahdi has publicly declared that he can no longer guarantee the security of foreign troops on Iraqi ground. That makes the issue urgent and it is likely that the troops will leave rather soon.