When you download a file on Windows — the browser and the system checks your file for viruses and reputation.
If you want to be trusted — you have to buy an Extended Validation (EV) Code Signing Certificate for a lot of money, but it’s not enough just to buy it, there are a lot of intricacies...