The U.S. military says two American pilots were killed in a military helicopter crash in northern Iraq , which was likely caused by hostile fire .