Why is windows defender detecting a trojan virus?
Likely a False-Positive. If you are concerned, try scanning with another anti-virus software :)