I met multiple physics PhD that transitioned to data science or software engineering with great results, despite their initial interest in another kind of science.
Why physics students that turned to software are usually great engineers? Is there something in common in your opinion?