It bothers me to a minor extent to technically contribute to some of these companies.
Outside of large shareholders like how Musk owns Tesla and sells his stock to fund fascism, buying stock does nothing for companies, ethical or not.
If you buy shares of an ethical green company, none of that money goes to the company. You bought the shares from someone else. It's like buying a used book of Harry Potter. Absolutely no money goes to JK Rowling.