The US went to war with Pirates twice and won twice,
in the first Baraby War, the USS Philidealia was capture by Tripoli, and was America gonna let them have it?
Hell no, American soldiers stuck into the shipping dock and burn the baby to the ground, (or um water it was on sea)
it was a big "F-U" moment
more history about it https://www.navalhistory.org/2015/02/18/the-burning-of-the-uss-philadelphia#:~:text=The%20burning%20of%20the%20Philadelphia,Navy%20and%20the%20United%20States.&text=The%20U.S.%20refused%2C%20and%20therefore,merchant%20fleet%20in%20the%20Mediterranean.
100