First, the article is poorly written, making it difficult to understand what is being compared and the true magnitude of change.
This article isn't claiming Americans spent $148B in total. It says they paid $148B MORE during the eight months of the Iran War. The total amount spent by Americans during that period is substantially higher than $148B.
They then state the petroleum industry profited a total $130B between April and September, a six month period which omits two months of the Iran War.