https://en.m.wikipedia.org/wiki/Piracy_off_the_coast_of_Soma...
>After the collapse of the Somali government and the dispersal of the Somali Navy, ... groups, using small boats, would sometimes hold vessels and crew for ransom. This grew into a lucrative trade, with large ransom payments. The pirates then began hijacking commercial vessels
The quote I posted is a bit cryptic by itself. What I meant by it was that perhaps the US had plans that would lead to greater benefits for them in the region, but these plans backfired by inadvertently creating the Somali piracy problem.
They did everything right with regards to whatever they were hoping to achieve, but they still failed and then pirates happened.
The US is no stranger to strategic military intervention that costs lives and money and achieves nothing very substantial - from Vietnam to Iraq to Afghanistan.
It was the cold war. I'm pretty sure the MIC could have justified so much spending in other ways besides vietnam, but we are venturing into counterfactual territory.