Huntington Ingalls reported better-than-expected quarterly earnings on Thursday on the back of demand for aircraft carriers but profit margins were below company estimates, sending shares down despite geopolitical tensions.