Two American-flagged ships carrying cargo for the U.S. Defense and State departments came under attack by Yemen’s Houthi terrorists, officials said.