The number of jobs in the U.S. energy sector grew 4% in 2021, outpacing 2.8% growth in overall domestic employment, according to the U.S. Department of Energy.