Teen apparel retailer American Eagle Outfitters has booked a decline in third-quarter earnings but saw gross margin increase, in what analyst have described as a "difficult environment".