I worked in oil and gas, in 2021 I quit after company started laying people off. Not ever considering going back. This industry is way too temperamental.
The layoff, rehire cycle is a clear demonstration of how management wants to have their cake, eat it too, succeeding at it for a short time and then complaining that they can't find any workers.
But no one was laid off. All that happened was that one guy who had temporarily left to finish a master's degree wasn't rehired as expected (I think it also didn't help that he wasn't that good).