Hanesbrands, like many apparel producers, struggled with pandemic-related shipping delays and supply issues. Further, the company faced higher input costs, such as cotton, energy, and wages, in 2022.