If he was a test automation engineer, he likely had transferable skills. Many/most of the fab folks have almost no programming skills, and are PhDs in things like chemistry[1], etc.
Now some of them do take the initiative and learn SW skills, or data analysis properly, and switch due to that. But the majority of them feel stuck. They have a heavy workload and do not feel they have time to learn new skills.
[1] For a long time, and perhaps even now, the fabs only hired either technicians or PhDs. An exemption would be needed to hire someone with "just" an MS. Of course, almost none of these jobs actually need PhD level skills.
Now some of them do take the initiative and learn SW skills, or data analysis properly, and switch due to that. But the majority of them feel stuck. They have a heavy workload and do not feel they have time to learn new skills.
[1] For a long time, and perhaps even now, the fabs only hired either technicians or PhDs. An exemption would be needed to hire someone with "just" an MS. Of course, almost none of these jobs actually need PhD level skills.