The six-month U.S. war against Iran has cost Washington $38 billion, highlighting the mounting financial burden of the prolonged conflict.