Here's a list of companies I've had interviews at and not made it to an offer. Been interviewing consistently for 9 months now - I know, it's a shit show. Looking for a PM/Senior PM role. 8 YOE and shit TC.
Made it to onsite about 6 times, phone and video rounds with hiring managers about 10 times and recruiter screen the other times.
Should I give up interviewing and reflect on what's going wrong? if so, how? Or just keep going? Does being on a work visa reduce my chances?(Dropbox and qualtrics refused to interview me after I told them I was on H-1B). Thoughts?

comments
Why don’t you look for roles in another country?
But just Google had 156 'Product Manager' H1-B filings in 2019.
You mean to say Google hired cheap-ass contractors stealing American jobs and giving it to skill-less foreigners... and then paid them the same amount they would've paid an American, while not having to deal with the Visa uncertainty?
It costs Google more (5-8k$ more atleast , govt/lawyer visa fees) to get an H1 candidate than a normal PR, USC candidate.
If you really do believe that, you're not just naive but stupid.
Go back to your shell.
Step 2:Be in the tech industry.
Step 3:???
Step 4:Get interviews.
Talk to a recruiter and go after the Sequoia and greylock funded startups.
Uberx2
LinkedIn
Microsoftx2
Google
Amazonx2
Splunk
Dropbox
Vmware
Clover
Salesforcex2
My conversion from phone to onsite was relatively decent I think. 1 out of 2/3 at least maybe
Just grind grind grind. Not landing an offer is dependent on too many factors you cannot control.