When Elon Musk bought Twitter he fired most of the engineering staff and then insisted that anyone left commit to working insane hours or leave. The H1-B Visa employees had few options but to stay, since if they left and didn't find a job almost immediately they would be deported. Given this it's no mystery why the H1-B visa program is popular with Musk.