"The attack drones posed an immediate threat to regional maritime traffic," U.S. Central Command said.