Whose war is the US fighting in Syria, and why?

American troops have been exchanging fire with alleged Iran-backed militas all week. The timing is curious, and dangerous.
U.S. forces in Syria have been carrying out strikes against “Iran-backed” militias this week in response to a recent drone attack on the American base at Tanf and rocket attacks at two other bases in northeastern Syria.