It’s not that hard to understand. There is no reason to assume that someone that spent 4-8 years studying computers is going to be an expert in physics or other sciences. That person is an expert in computers and nothing else unless they studied it.
The problem arises tho when people who are an expert in one field or subject use that as validation to them that they are smart. Therefore any other topic they discuss makes them an expert and so you can never have a real discussion with them because in their mind they are always right.
Sounds like your depression is literally slowly killing you.
In the end it’s really just a decision. Not saying it’s easy but the keys are in your hand.