This is a trend in hiring and there are now companies that specialize in online proctoring during pre-employment interviews and have proctored exams for screening. Before stating that this isn't real, do your own research. Here's an article that explains some of the current options available to companies: https://www.adaface.com/blog/a-complete-guide-on-online-remote-proctoring/
You even say that you do use software that monitors camera movements and blocks outside applications. The only difference between what you do and what the OP claims is that the companies are using pre-employment exams to qualify the candidate before wasting time on a live interview using the same technology you do.
I love photography, but I suck at it. It took me 20 years and several lakhs wasted on equipment to realize that. You may like something but you may not have the aptitude for that. Take an aptitude test and find out whether you have it in you to be a programmer. https://www.adaface.com/assessment-test/computer-programmer-aptitude-test I do programing for a living now, and I used to be bad at math. So don't be disheartened.
All the best.
Name: Adaface / www.adaface.com
Location: Singapore
Pitch: Adaface helps companies automate the first round technical/ coding interview screening with a conversational chatbot, Ada.
Stage: Early stage SaaS
Looking for: Customers/ Feedback
Discount: Ping us on the website chat for a special discount. :)